-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (44 loc) · 1.57 KB
/
setup.py
File metadata and controls
51 lines (44 loc) · 1.57 KB
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
import os
import sys
from io import open
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
dist_name = 'place-api'
pkg_name = 'place'
install_requires = ['requests']
directory = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(directory, pkg_name))
from __about__ import __version__
with open(os.path.join(directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=dist_name,
version=__version__,
description='Place python library',
author='Place',
author_email='help@placepay.com',
url='https://github.com/placepay/place-python',
long_description=long_description,
long_description_content_type='text/markdown',
packages=[pkg_name],
install_requires=install_requires,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"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.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
)