forked from sirMackk/py3tftp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (43 loc) · 1.26 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
from setuptools import setup
from py3tftp import __version__
try:
import pypandoc
except ImportError:
pypandoc = None
def readme():
with open('README.md', 'r') as f:
readme_md = f.read()
if pypandoc:
readme_rst = pypandoc.convert(readme_md, 'rst', format='md')
return readme_rst
else:
return readme_md
setup(
name='py3tftp',
version=__version__,
description='Python 3 asynchronous TFTP server.',
long_description=readme(),
url='http://github.com/sirMackk/py3tftp',
author='Matt O.',
author_email='[email protected]',
license='MIT',
keywords='async asynchronous tftp',
packages=['py3tftp'],
include_package_data=True,
entry_points={
'console_scripts': [
'py3tftp = py3tftp.__main__:main'
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Topic :: Utilities',
'Topic :: Software Development',
'License :: OSI Approved :: MIT License',
],
)