-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
38 lines (36 loc) · 1.27 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
from setuptools import setup
from setuptools_rust import Binding, RustExtension
extras = {}
extras["testing"] = ["pytest"]
extras["docs"] = ["setuptools_rust", "sphinx-copybutton", "sphinx_book_theme"]
setup(
name="ethers",
version="0.1.1",
description="Python library for interacting with the Ethereum Blockchain ",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
keywords="ethereum etherscan blockchain",
author="Yaser Martinez Palenzuela",
author_email="[email protected]",
url="https://github.com/elyase/ethers-py",
license="MIT",
rust_extensions=[RustExtension("ethers.ethers", binding=Binding.PyO3, debug=False)],
extras_require=extras,
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
package_dir={"": "py_src"},
packages=[
"ethers",
"ethers.providers",
],
package_data={
"ethers": ["py.typed", "__init__.pyi"],
"ethers.providers": ["py.typed", "__init__.pyi"],
},
zip_safe=False,
)