mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
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:
19
setup.py
19
setup.py
@ -1,6 +1,6 @@
|
|||||||
import setuptools
|
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 = {
|
extras_require = {
|
||||||
@ -33,16 +33,30 @@ extras_require["dev"] = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
with open("./README.md") as readme:
|
||||||
|
long_description = readme.read()
|
||||||
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="libp2p",
|
name="libp2p",
|
||||||
description="libp2p implementation written in python",
|
description="libp2p implementation written in python",
|
||||||
version="0.1.2",
|
version="0.1.2",
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
maintainer="The Ethereum Foundation",
|
maintainer="The Ethereum Foundation",
|
||||||
maintainer_email="snakecharmers@ethereum.org",
|
maintainer_email="snakecharmers@ethereum.org",
|
||||||
url="https://github.com/ethereum/py-libp2p",
|
url="https://github.com/ethereum/py-libp2p",
|
||||||
license="MIT/APACHE2.0",
|
license="MIT/APACHE2.0",
|
||||||
platforms=["unix", "linux", "osx"],
|
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=[
|
install_requires=[
|
||||||
"pycryptodome>=3.8.2,<4.0.0",
|
"pycryptodome>=3.8.2,<4.0.0",
|
||||||
"base58>=1.0.3,<2.0.0",
|
"base58>=1.0.3,<2.0.0",
|
||||||
@ -58,4 +72,5 @@ setuptools.setup(
|
|||||||
extras_require=extras_require,
|
extras_require=extras_require,
|
||||||
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
|
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
keywords="libp2p p2p",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user