-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (66 loc) · 2.59 KB
/
setup.py
File metadata and controls
72 lines (66 loc) · 2.59 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
from io import open
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
setup(
name='sync-py', # Required
version='1.0.4', # Required
description='Consume Paybook Sync REST API without pain', # Optional
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional
url='https://github.com/Paybook/sync-py', # Optional
author='Paybook', # Optional
author_email='aldo.escobar@paybook.com', # Optional
license='MIT',
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='paybook sync bank sat', # Optional
package_dir={'': 'src'}, # Optional
packages=find_packages(where='src'), # Required
python_requires='!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4',
install_requires=['requests'], # Optional
extras_require={ # Optional
'dev': [''],
'test': [''],
},
entry_points={ # Optional
'console_scripts': [
'sync=sync.__main__:main',
],
},
project_urls={ # Optional
'Bug Reports': 'https://github.com/Paybook/sync-py/issues',
'Home': 'https://www.paybook.com/w/es/sync/site/home',
'Source': 'https://github.com/Paybook/sync-py',
},
)