forked from pylover/easycli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (32 loc) · 1.15 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
import re
from os.path import join, dirname
from setuptools import setup, find_packages
# reading package's version (same way sqlalchemy does)
with open(join(dirname(__file__), 'easycli', '__init__.py')) as f:
version = re.match(".*__version__ = '(.*?)'", f.read(), re.S).group(1)
setup(
name='easycli',
version=version,
author='Vahid Mardani',
author_email='[email protected]',
url='http://github.com/pylover/easycli',
description='Easily define your Command line and sub-commands using ' \
'argparse.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown', # This is important!
install_requires=[
'argcomplete'
],
packages=find_packages(exclude=['tests']),
license='MIT',
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development',
]
)