forked from blockchain-etl/polygon-etl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (59 loc) · 2.11 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
import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
long_description = read("README.md") if os.path.isfile("README.md") else ""
setup(
name="polygon-etl",
version="0.1.9",
author="Evgeny Medvedev",
author_email="[email protected]",
description="Tools for exporting Polygon blockchain data to CSV or JSON",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/blockchain-etl/polygon-etl",
packages=find_packages(exclude=["schemas", "tests"]),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="polygon",
# web3.py doesn't work on 3.5.2 and less (https://github.com/ethereum/web3.py/issues/1012)
# google-cloud-pubsub==2.1.0 requires >=3.6 (https://pypi.org/project/google-cloud-pubsub/2.1.0/)
# collections.Mapping unsupported in 3.10 (https://bugs.python.org/issue44737)
python_requires=">=3.6,<3.10",
install_requires=[
"base58",
"blockchain-etl-common==1.6.1",
"click==7.0",
"eth-abi==1.3.0",
"eth-utils==1.8.4",
"ethereum-dasm==0.1.4",
"requests",
"web3==4.7.2",
],
extras_require={
"streaming": [
"google-cloud-pubsub==2.1.0",
"google-cloud-storage==1.33.0",
"pg8000==1.13.2",
"sqlalchemy==1.3.13",
"timeout-decorator==0.4.1",
],
},
entry_points={
"console_scripts": [
"polygonetl=polygonetl.cli:cli",
],
},
project_urls={
"Bug Reports": "https://github.com/blockchain-etl/polygon-etl/issues",
"Source": "https://github.com/blockchain-etl/polygon-etl",
},
)