web3.py/setup.py
2017-02-27 09:57:35 -07:00

64 lines
1.5 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
setup,
find_packages,
)
DIR = os.path.dirname(os.path.abspath(__file__))
readme = open(os.path.join(DIR, 'README.md')).read()
install_requires=[
"ethereum-abi-utils>=0.4.0",
"ethereum-utils>=0.2.0",
"pylru>=1.0.9",
"pysha3>=0.3",
"requests>=2.12.4",
"rlp>=0.4.6,<0.4.7",
]
if sys.platform == 'win32':
install_requires.append('pypiwin32')
setup(
name='web3',
version='3.7.2',
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,
install_requires=install_requires,
extras_require={
'Tester': ["eth-testrpc>=1.1.0"],
'tester': ["eth-testrpc>=1.1.0"],
'gevent': [
"gevent>=1.1.1,<1.2.0",
"geventhttpclient>=1.3.1",
],
},
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',
],
)