-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
46 lines (40 loc) · 1.55 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
# Always prefer setuptools over distutils
# To use a consistent encoding
from setuptools import setup, find_packages
from os import path
from codecs import open
here = path.abspath(path.dirname(__file__))
__version__ = None
with open('bluesnap/version.py') as f:
exec(f.read())
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requires = f.readlines()
setup(
name='bluesnap',
version=__version__,
author='Alon Diamant',
author_email='[email protected]',
url='https://github.com/mayple/bluesnap',
license='LICENSE',
description='A Python 3 module to interact with the Bluesnap API.',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=requires,
setup_requires=requires,
test_suite='nose.collector',
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers = [ # Optional
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)