-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
98 lines (75 loc) · 2.25 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import setuptools
from setuptools.command.sdist import sdist
class Sdist(sdist):
def run(self):
self.run_command('compile_catalog')
sdist.run(self)
if __name__ == "__main__":
setuptools.setup(
name='zget',
version="0.11.1",
description='Zeroconf based peer to peer file transfer',
long_description="""Simply transfer a file over the network using
.. code:: bash
$ zput file.zip
on the sender and
.. code:: bash
$ zget file.zip
on the receiver.
Done.""",
author='Nils Werner',
author_email='[email protected]',
url='https://github.com/nils-werner/zget',
license='MIT',
packages=setuptools.find_packages(),
install_requires=[
'six',
'zeroconf<0.17.6',
'netifaces>=0.11',
'progressbar2',
'requests',
],
setup_requires=[
'babel'
],
extras_require={
'docs': [
'sphinx',
'sphinxcontrib-napoleon',
'sphinx_rtd_theme',
'numpydoc',
],
'tests': [
'pytest',
'pytest-cov',
'pytest-pep8',
'tox',
'enum34>=1.1.1', # otherwise Python 3.5 tox fails
],
},
tests_require=[
'pytest',
'pytest-cov',
'pytest-pep8',
'tox',
'enum34>=1.1.1', # otherwise Python 3.5 tox fails
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
'Topic :: Communications :: File Sharing',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities',
],
entry_points={'console_scripts': [
'zget=zget.get:cli',
'zput=zget.put:cli'
]},
cmdclass={'sdist': Sdist},
)