forked from youknowone/itunes-iap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (40 loc) · 1.19 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
from __future__ import with_statement
from setuptools import setup
def get_version():
with open('itunesiap/version.txt') as f:
return f.read().strip()
def get_readme():
try:
with open('README.rst') as f:
return f.read().strip()
except IOError:
return ''
setup(
name='itunes-iap',
version=get_version(),
description='Itunes In-app purchase verification api.',
long_description=get_readme(),
author='Jeong YunWon',
author_email='itunesiap@youknowone.org',
url='https://github.com/youknowone/itunes-iap',
packages=(
'itunesiap',
),
package_data={
'itunesiap': ['version.txt']
},
install_requires=[
'requests', 'prettyexc>=0.5.1', 'six'
],
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'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',
],
)