-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·45 lines (38 loc) · 1.54 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
from setuptools import setup
from setuptools import find_packages
try:
from pypandoc import convert
def get_long_description(file_name):
return convert(file_name, 'rst', 'md')
except ImportError:
def get_long_description(file_name):
with open(file_name) as f:
return f.read()
if __name__ == '__main__':
setup(
name='declarative_parser',
packages=find_packages(),
version='0.1.3',
license='MIT',
description=' Modern, declarative argument parser for Python 3.6+',
long_description=get_long_description('README.md'),
author='Michal Krassowski',
author_email='[email protected]',
url='https://github.com/krassowski/declarative-parser',
download_url='https://github.com/krassowski/declarative-parser/tarball/v0.1.3',
keywords=['argument', 'parser', 'argparse', 'declarative', 'cli'],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Environment :: Console',
'Topic :: Utilities',
'Topic :: Software Development :: User Interfaces',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
install_requires=[],
)