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
|
import sys
import os
packages = [
'uritemplate'
]
from setuptools import setup
if sys.argv[-1] in ("submit", "publish"):
os.system("python setup.py sdist upload")
sys.exit()
from uritemplate import __version__
setup(
name="uritemplate.py",
version=__version__,
description='URI templates',
long_description="\n\n".join([open("README.rst").read(),
open("HISTORY.rst").read()]),
license=open('LICENSE').read(),
author="Ian Cordasco",
author_email="graffatcolmingov@gmail.com",
url="https://uritemplate.readthedocs.org",
packages=packages,
package_data={'': ['LICENSE', 'AUTHORS.rst']},
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
)
|