-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
82 lines (78 loc) · 2.47 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# encoding=UTF-8
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
def read_file(filename):
"""Read a file into a string"""
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except IOError:
return ''
long_description = read_file('README.rst').strip().split('split here', 1)[0]
#version = __import__('one_click').__version__
setup(
name='oneclick',
#version=version,
#version='0.0.1',
#description=__import__('oneclick').__doc__.strip(),
long_description=long_description,
author='Ignacio Hermosilla',
author_email='[email protected]',
maintainer='Ignacio Hermosilla',
maintainer_email='[email protected]',
#url='http://github.com/ignaciohermosilla/one_click',
#download_url='http://github.com/ignaciohermosilla/one_click/archive/{version}.zip'.format(version=version),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Environment :: Console',
'Environment :: Web Environment',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
],
keywords=['oneclick', 'one_click', 'transbank', 'webpay', 'chile', 'payments'],
install_requires=[
'requests>=2.3.0',
'six>=1.7.3',
'PyCrypto>=2.6.1',
'pytz',
'M2Crypto==0.22.3',
'PySimpleSOAP==1.16',
'argparse==1.2.1',
'arrow==0.6.0',
'certifi==2015.04.28',
'cffi==1.1.2',
#'cryptography==0.9.3',
'defusedxml==0.4.1',
'eight==0.3.2',
'enum34==1.0.4',
'future==0.12.3',
'hashlib==20081119',
'idna==2.0',
'ipaddress==1.0.14',
'osa==0.1.6.6',
'pyOpenSSL==0.15.1',
'pyasn1==0.1.8',
'pycparser==2.14',
'pycrypto==2.6.1',
'python-dateutil==2.4.2',
'requests==2.7.0',
#'signxml==0.4.3',
#'soap2py==1.16',
'wsgiref==0.1.2',
],
tests_require=[
'mock>=1.0.1',
'nose>=1.3.3',
],
packages=find_packages(),
test_suite='nose.collector',
zip_safe=True,
license='GPLv3'
)