-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (44 loc) · 1.14 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
from setuptools import setup, find_packages
from ndrop import about
with open('README.rst') as f:
long_description = f.read()
requirements = []
with open('requirements.txt') as f:
for line in f.readlines():
line.strip()
if line.startswith('#'):
continue
requirements.append(line)
setup(
name=about.name,
version=about.version,
author_email=about.email,
url=about.url,
license=about.license,
description=about.description,
long_description=long_description,
python_requires='>=3.6',
platforms=['noarch'],
packages=['ndrop', 'tkinterdnd2'],
package_data={
'ndrop': [
'image/*.*',
],
'tkinterdnd2': [
'tkdnd/linux64/*.*',
'tkdnd/osx64/*.*',
'tkdnd/win64/*.*',
]
},
entry_points={
'console_scripts': [
'%s = ndrop.__main__:run' % about.name,
],
'gui_scripts': [
'%stk = ndrop.__main_tk__:run' % about.name,
'%skv = ndrop.__main_kivy__:run' % about.name,
],
},
install_requires=requirements,
zip_safe=False,
)