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

@@ -1,4 +1,4 @@
# Bitfinex Trading Library for Python - Bitcoin, Ethereum, Ripple and more # Bitfinex Trading Library for Python - Bitcoin, Ethereum, Ripple and more
![https://api.travis-ci.org/bitfinexcom/bitfinex-api-py.svg?branch=master](https://api.travis-ci.org/bitfinexcom/bitfinex-api-py.svg?branch=master) ![https://api.travis-ci.org/bitfinexcom/bitfinex-api-py.svg?branch=master](https://api.travis-ci.org/bitfinexcom/bitfinex-api-py.svg?branch=master)

View File

@@ -7,69 +7,46 @@ https://github.com/pypa/sampleproject
# Always prefer setuptools over distutils # Always prefer setuptools over distutils
from setuptools import setup, find_packages from setuptools import setup, find_packages
from os import path 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__)) 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( setup(
name='bitfinex-api-py', name='bitfinex-api-py',
version='1.1.0', # Required version='1.1.0',
description='Official Bitfinex API', # Optional description='Official Bitfinex Python API',
long_description='This is an official python library that is used to connect interact with the Bitfinex api.', # Optional long_description='A Python reference implementation of the Bitfinex API for both REST and websocket interaction',
long_description_content_type='text/markdown', # Optional long_description_content_type='text/markdown',
url='https://github.com/bitfinexcom/bitfinex-api-py', # Optional url='https://github.com/bitfinexcom/bitfinex-api-py',
author='Bitfinex', # Optional author='Bitfinex',
author_email='support@bitfinex.com', # Optional author_email='support@bitfinex.com',
classifiers=[ # Optional classifiers=[
# How mature is this project? Common values are # How mature is this project? Common values are
# 3 - Alpha # 3 - Alpha
# 4 - Beta # 4 - Beta
# 5 - Production/Stable # 5 - Production/Stable
'Development Status :: 4 - Beta', 'Development Status :: 5 - Stable',
# Indicate who your project is intended for # Project Audience
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Build Tools',
# Project License
# Pick your license as you wish
'License :: OSI Approved :: Apache 2.0', 'License :: OSI Approved :: Apache 2.0',
# Specify the Python versions you support here. In particular, ensure # Python versions (not enforced)
# that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 3.0',
# These classifiers are *not* checked by 'pip install'. See instead 'Programming Language :: Python :: 3.2.0',
# 'python_requires' below. 'Programming Language :: Python :: 3.3.0',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4.0',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.5.0',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.6.0',
'Programming Language :: Python :: 3.7.0',
], ],
keywords='bitfinex,api,trading',
keywords='bitfinex', # Optional packages=find_packages(exclude=['examples', 'tests', 'docs']),
# Python versions (enforced)
packages=find_packages(exclude=['examples', 'tests']), # Required python_requires='>=3.0.0, <4',
# deps installed by pip
# Specify which Python versions you support. In contrast to the install_requires=['eventemitter', 'asyncio', 'websockets', 'pylint', 'six', 'pyee', 'aiohttp'],
# 'Programming Language' classifiers above, 'pip install' will check this project_urls={
# 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
'Bug Reports': 'https://github.com/bitfinexcom/bitfinex-api-py/issues', 'Bug Reports': 'https://github.com/bitfinexcom/bitfinex-api-py/issues',
'Source': 'https://github.com/bitfinexcom/bitfinex-api-py', 'Source': 'https://github.com/bitfinexcom/bitfinex-api-py',
}, },