-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
60 lines (52 loc) · 1.99 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
"""Setup file for typedargs."""
# This file is adapted from python code released by WellDone International
# under the terms of the LGPLv3. WellDone International's contact information is
# http://welldone.org
#
# Modifications to this file from the original created at WellDone International
# are copyright Arch Systems Inc.
# Caveats and possible issues
# Mac OS X
# - when using a virtualenv, readline is not properly installed into the virtualenv
# and cannot be imported. You need to install it using easy_install as described here
# http://calvinx.com/tag/readline/
from distutils.util import convert_path
from setuptools import setup, find_packages
version = {}
with open(convert_path("typedargs/version.py")) as fp:
exec(fp.read(), version)
setup(
name="typedargs",
packages=find_packages(exclude=("test",)),
version=version["__version__"],
license="LGPLv3",
install_requires=[
"decorator>=4.3.0",
"pyreadline>=2.1.0;platform_system==\"Windows\""
],
python_requires=">=3.6,<4",
description="A typechecking and shell generation program for python APIs",
author="Arch",
author_email="[email protected]",
url="https://github.com/iotile/typedargs",
keywords=[""],
classifiers=[
"Programming Language :: Python",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules"
],
long_description="""\
TypedArgs
---------
TypedArgs provides a way to annotate python3 functions with type information that allows
the quick creation of custom command line shells.
"""
)