web3.py/setup.py

63 lines
1.5 KiB
Python
Raw Permalink Normal View History

2016-04-14 16:20:16 +00:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
2017-02-27 15:50:42 +00:00
import sys
2016-04-14 16:20:16 +00:00
from setuptools import (
setup,
find_packages,
)
DIR = os.path.dirname(os.path.abspath(__file__))
readme = open(os.path.join(DIR, 'README.md')).read()
2017-02-27 15:44:15 +00:00
install_requires=[
"ethereum-abi-utils>=0.4.0",
"ethereum-utils>=0.2.0",
"pylru>=1.0.9",
"pysha3>=0.3",
"requests>=2.12.4",
2017-03-22 16:17:18 +00:00
"rlp>=0.4.7",
2017-02-27 15:50:42 +00:00
]
2017-02-27 15:44:15 +00:00
if sys.platform == 'win32':
install_requires.append('pypiwin32')
2016-04-14 16:20:16 +00:00
setup(
2016-04-28 15:54:07 +00:00
name='web3',
2017-05-01 14:41:18 +00:00
version='3.8.1',
2016-04-14 16:20:16 +00:00
description="""Web3.py""",
long_description=readme,
author='Piper Merriam',
author_email='pipermerriam@gmail.com',
url='https://github.com/pipermerriam/web3.py',
include_package_data=True,
2017-02-27 15:44:15 +00:00
install_requires=install_requires,
2016-12-06 15:54:02 +00:00
extras_require={
2017-03-22 16:17:18 +00:00
'tester': ["eth-testrpc>=1.2.0"],
2017-01-10 06:25:48 +00:00
'gevent': [
"gevent>=1.1.1,<1.2.0",
"geventhttpclient>=1.3.1",
],
2016-12-06 15:54:02 +00:00
},
2016-04-14 16:20:16 +00:00
py_modules=['web3'],
license="MIT",
zip_safe=False,
keywords='ethereum',
packages=find_packages(exclude=["tests", "tests.*"]),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)