-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (20 loc) · 777 Bytes
/
setup.py
File metadata and controls
23 lines (20 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
requires = open("requirements.txt").read().splitlines()
requires = list(filter(lambda x: not x.startswith("#"), requires))
setup(
name="peth",
description="An all-in-one Ethereum SDK and command-line tool written in Python.",
url="https://github.com/lmy375/peth",
author="Moon",
version="1.0.10",
packages=find_packages(exclude=["tests", "scripts"]),
python_requires=">=3.8",
install_requires=requires,
license="AGPL-3.0",
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={"console_scripts": ["peth = peth.cli:main"]},
include_package_data=True,
)