setup.py: fix warnings and add description
There were warnings about needing a URL and maintainer. Also, use the readme as the pypi description.
This commit is contained in:
parent
444929d5fc
commit
cb4b4b8209
19
setup.py
19
setup.py
|
@ -1,6 +1,6 @@
|
|||
import setuptools
|
||||
|
||||
classifiers = [f"Programming Language :: Python :: {version}" for version in ["3.7"]]
|
||||
py_classifiers = [f"Programming Language :: Python :: {version}" for version in ["3.7"]]
|
||||
|
||||
|
||||
extras_require = {
|
||||
|
@ -33,16 +33,30 @@ extras_require["dev"] = (
|
|||
)
|
||||
|
||||
|
||||
with open("./README.md") as readme:
|
||||
long_description = readme.read()
|
||||
|
||||
|
||||
setuptools.setup(
|
||||
name="libp2p",
|
||||
description="libp2p implementation written in python",
|
||||
version="0.1.2",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
maintainer="The Ethereum Foundation",
|
||||
maintainer_email="snakecharmers@ethereum.org",
|
||||
url="https://github.com/ethereum/py-libp2p",
|
||||
license="MIT/APACHE2.0",
|
||||
platforms=["unix", "linux", "osx"],
|
||||
classifiers=classifiers,
|
||||
classifiers=[
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Natural Language :: English",
|
||||
]
|
||||
+ py_classifiers,
|
||||
python_requires=">=3.7,<4",
|
||||
install_requires=[
|
||||
"pycryptodome>=3.8.2,<4.0.0",
|
||||
"base58>=1.0.3,<2.0.0",
|
||||
|
@ -58,4 +72,5 @@ setuptools.setup(
|
|||
extras_require=extras_require,
|
||||
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
|
||||
zip_safe=False,
|
||||
keywords="libp2p p2p",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user