forked from ethereum/web3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
120 lines (116 loc) · 3.4 KB
/
setup.py
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#!/usr/bin/env python
from setuptools import (
find_packages,
setup,
)
extras_require = {
"tester": [
"eth-tester[py-evm]==v0.8.0-b.3",
"py-geth>=3.10.0",
],
"linter": [
"black>=22.1.0",
"flake8==3.8.3",
"isort>=5.11.0",
"mypy==0.910",
"types-setuptools>=57.4.4",
"types-requests>=2.26.1",
"types-protobuf==3.19.13",
],
"docs": [
"mock",
"click>=5.1",
"configparser==3.5.0",
"contextlib2>=0.5.4",
"py-geth>=3.9.1",
"py-solc-x>=1.1.1",
"pytest>=6.2.5",
"sphinx>=4.2.0",
"sphinx_rtd_theme>=0.5.2",
"toposort>=1.4",
"towncrier==18.5.0",
"urllib3",
"wheel",
],
"dev": [
"bumpversion",
"flaky>=3.7.0",
"hypothesis>=3.31.2",
"importlib-metadata<5.0;python_version<'3.8'",
"pytest>=6.2.5",
"pytest-asyncio>=0.18.1",
"pytest-mock>=1.10",
"pytest-pythonpath>=0.3",
"pytest-watch>=4.2",
"pytest-xdist>=1.29",
"setuptools>=38.6.0",
"tox>=3.18.0",
"tqdm>4.32",
"twine>=1.13",
"pluggy==0.13.1",
"when-changed>=0.3.0",
],
"ipfs": [
"ipfshttpclient==0.8.0a2",
],
}
extras_require["dev"] = (
extras_require["tester"]
+ extras_require["linter"]
+ extras_require["docs"]
+ extras_require["ipfs"]
+ extras_require["dev"]
)
with open("./README.md") as readme:
long_description = readme.read()
setup(
name="web3",
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version="6.0.0-beta.9",
description="""Web3.py""",
long_description_content_type="text/markdown",
long_description=long_description,
author="Piper Merriam",
author_email="[email protected]",
url="https://github.com/ethereum/web3.py",
include_package_data=True,
install_requires=[
"aiohttp>=3.7.4.post0",
"eth-abi>=4.0.0-b.2",
"parsimonious==0.9.0", # TODO - fix in eth-abi
"eth-account>=0.8.0",
"eth-hash[pycryptodome]>=0.5.1",
"eth-typing>=3.0.0",
"eth-utils>=2.1.0",
"hexbytes>=0.1.0",
"jsonschema>=4.0.0",
"lru-dict>=1.1.6",
"protobuf>=4.21.6",
"pywin32>=223;platform_system=='Windows'",
"requests>=2.16.0",
# remove typing_extensions after python_requires>=3.8, see web3._utils.compat
"typing-extensions>=3.7.4.1,<5;python_version<'3.8'",
"websockets>=10.0.0",
],
python_requires=">=3.7.2",
extras_require=extras_require,
py_modules=["web3", "ens", "ethpm"],
entry_points={"pytest11": ["pytest_ethereum = web3.tools.pytest_ethereum.plugins"]},
license="MIT",
zip_safe=False,
keywords="ethereum",
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={"web3": ["py.typed"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)