-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·52 lines (44 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
46
47
48
49
50
51
52
#!/usr/bin/env python
import os
import re
from codecs import open
from setuptools import find_packages, setup
with open('mercadopago/__init__.py', 'r', encoding='utf-8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
with open(path, 'r', 'utf-8') as f:
return f.read()
setup(
name="pymercadopago",
version=version,
description="An API wrapper for MercadoPago",
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
author="Federico Bond",
author_email="federicobond@gmail.com",
url="https://github.com/federicobond/pymercadopago",
license='Apache 2.0',
packages=find_packages(exclude=['tests']),
include_package_data=True,
install_requires=[
"requests>=2.1.0",
"future",
],
setup_requires=[
'pytest-runner',
],
tests_require=[
"pytest",
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='mercadopago api'
)