setup.py: update

This commit is contained in:
JacobPlaster
2019-10-09 11:20:50 +01:00
committed by Jacob Plaster
parent d18c4aadf1
commit b4059fb3fa
2 changed files with 27 additions and 50 deletions

View File

@@ -7,69 +7,46 @@ 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
# Python 3 only projects can skip this import
from io import open
here = path.abspath(path.dirname(__file__))
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
setup(
name='bitfinex-api-py',
version='1.1.0', # Required
description='Official Bitfinex API', # Optional
long_description='This is an official python library that is used to connect interact with the Bitfinex api.', # Optional
long_description_content_type='text/markdown', # Optional
url='https://github.com/bitfinexcom/bitfinex-api-py', # Optional
author='Bitfinex', # Optional
author_email='support@bitfinex.com', # Optional
classifiers=[ # Optional
version='1.1.0',
description='Official Bitfinex Python API',
long_description='A Python reference implementation of the Bitfinex API for both REST and websocket interaction',
long_description_content_type='text/markdown',
url='https://github.com/bitfinexcom/bitfinex-api-py',
author='Bitfinex',
author_email='support@bitfinex.com',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Development Status :: 5 - Stable',
# Indicate who your project is intended for
# Project Audience
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish
# Project License
'License :: OSI Approved :: Apache 2.0',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# These classifiers are *not* checked by 'pip install'. See instead
# 'python_requires' below.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
# Python versions (not enforced)
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.2.0',
'Programming Language :: Python :: 3.3.0',
'Programming Language :: Python :: 3.4.0',
'Programming Language :: Python :: 3.5.0',
'Programming Language :: Python :: 3.6.0',
'Programming Language :: Python :: 3.7.0',
],
keywords='bitfinex', # Optional
packages=find_packages(exclude=['examples', 'tests']), # Required
# Specify which Python versions you support. In contrast to the
# 'Programming Language' classifiers above, 'pip install' will check this
# and refuse to install the project if the version does not match. If you
# do not support Python 2, you can simplify this to '>=3.5' or similar, see
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4',
# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
#
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['eventemitter', 'asyncio', 'websockets', 'pylint', 'six', 'pyee', 'aiohttp'], # Optional
project_urls={ # Optional
keywords='bitfinex,api,trading',
packages=find_packages(exclude=['examples', 'tests', 'docs']),
# Python versions (enforced)
python_requires='>=3.0.0, <4',
# deps installed by pip
install_requires=['eventemitter', 'asyncio', 'websockets', 'pylint', 'six', 'pyee', 'aiohttp'],
project_urls={
'Bug Reports': 'https://github.com/bitfinexcom/bitfinex-api-py/issues',
'Source': 'https://github.com/bitfinexcom/bitfinex-api-py',
},