-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (38 loc) · 1.35 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
import os
import sys
NAME = 'ShirtsioAPI'
execfile('shirtsio/version.py')
DESCRIPTION = 'Shirts.io API for Python'
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
path, script = os.path.split(sys.argv[0])
os.chdir(os.path.abspath(path))
requests = 'requests >= 0.8.8'
if sys.version_info < (2, 6):
requests += ', < 0.10.1'
install_requires = [requests]
from shirtsio.version import VERSION
setup(name='shirtsio',
version=VERSION,
description=DESCRIPTION,
author='shirtsio',
author_email='[email protected]',
url='https://github.com/ooshirts/shirtsio-python',
packages=['shirtsio'],
install_requires=install_requires,
platforms='Any',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules']
)