-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
52 lines (47 loc) · 1.76 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
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
package_name = "culqi-python-oficial"
package_path = os.path.abspath(os.path.dirname(__file__))
repositorty_url = "https://github.com/culqi/culqi"
long_description_file_path = os.path.join(package_path, "README.md")
long_description = ""
try:
with open(long_description_file_path, encoding="utf-8") as f:
long_description = f.read()
except IOError:
pass
setup(
name=package_name,
packages=find_packages(exclude=[".*", "docs", "scripts", "tests*", "legacy",]),
include_package_data=True,
version=__import__("culqi").__version__,
description="""Biblioteca de Culqi para Python""",
long_description=long_description,
long_description_content_type="text/markdown",
author="Team Culqi",
zip_safe=False,
keywords=["Api Client", "Payment Integration", "Culqi", "Python 3", "Python 2",],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
],
url=repositorty_url,
download_url="%(url)s/-/archive/%(version)s/%(package)s-%(version)s.tar.gz"
% {
"url": repositorty_url,
"version": __import__("culqi").__version__,
"package": package_name,
},
requires=["requests", "jsonschema"],
install_requires=["requests", "jsonschema"],
)