-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (31 loc) · 1.04 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 setuptools import setup
def version():
with open('clype/__init__.py', 'r') as init_file:
_version = re.search('__version__ = \'([^\']+)\'',
init_file.read()).group(1)
return _version
def readme():
with open('readme.md', 'r') as readme_file:
_readme = readme_file.read()
return _readme
setup(
name='clype',
version=version(),
description=('Python library for creating command line interfaces'
'using type annotations'),
long_description=readme(),
url='https://github.com/frcl/clype',
author='Lars Franke',
author_email='lars.franke@mailbox.org',
license='LGPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)'
],
keywords='cli console typehints annotations',
packages=['clype'],
)