-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (55 loc) · 1.96 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import setuptools
import sys
import os
install_requires = []
if os.path.isfile("requirements.txt"):
with open("requirements.txt", "r") as ins:
for rawL in ins:
line = rawL.strip()
if len(line) < 1:
continue
install_requires.append(line)
description = (
"Make an editable Listbox in Tkinter."
)
long_description = description
if os.path.isfile("readme.md"):
with open("readme.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='editablelistbox',
version='2.0.0',
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
# ('License :: OSI Approved :: ...'),
# 'Operating System :: POSIX :: Linux',
'Topic :: Software Development :: Widget Sets',
],
license='CC BY-SA 4.0',
keywords='python tkinter editable listbox',
url="https://github.com/poikilos/editablelistbox",
author="David Duran, Jake Gustafson",
author_email=("noreply@example.com,"
" 7557867+poikilos@users.noreply.github.com")
# packages=setuptools.find_packages(),
# packages=["editablelistbox"], # only for directories
py_modules=["editablelistbox"], # for py files in the root of the package
include_package_data=True, # look for MANIFEST.in
# scripts=['example-minimal.py'] ,
# See <https://stackoverflow.com/questions/27784271/
# how-can-i-use-setuptools-to-generate-a-console-scripts-entry-
# point-which-calls>
entry_points={
'console_scripts': [
# 'editablelistbox_example_minimal=example_minimal:main',
],
},
install_requires=install_requires,
# test_suite='nose.collector',
# tests_require=['nose', 'nose-cover3'],
zip_safe=True, # False: can't run zipped due to needing data files.
)