SEt up "dao" CLI skeleton

pull/1/head
Neeraj Kashyap 2021-12-11 18:45:58 -08:00
rodzic f6d5b3029a
commit a4c65a0d92
4 zmienionych plików z 47 dodań i 0 usunięć

4
.gitignore vendored
Wyświetl plik

@ -127,3 +127,7 @@ dmypy.json
# Pyre type checker
.pyre/
# Custom
.dao/
.secrets/

0
dao/__init__.py 100644
Wyświetl plik

5
dao/cli.py 100644
Wyświetl plik

@ -0,0 +1,5 @@
def main():
print("Hello")
if __name__ == "__main__":
main()

38
setup.py 100644
Wyświetl plik

@ -0,0 +1,38 @@
from setuptools import find_packages, setup
long_description = ""
with open("README.md") as ifp:
long_description = ifp.read()
setup(
name="moonstream-dao",
version="0.0.1",
packages=find_packages(),
install_requires=["eth-brownie", "tqdm"],
extras_require={
"dev": [
"black",
"moonworm",
],
"distribute": ["setuptools", "twine", "wheel"],
},
description="Command line interface to the Moonstream DAO",
long_description=long_description,
long_description_content_type="text/markdown",
author="Moonstream",
author_email="engineering@moonstream.to",
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries",
],
python_requires=">=3.6",
url="https://github.com/bugout-dev/dao",
entry_points={
"console_scripts": [
"dao=dao.cli:main",
]
},
include_package_data=True,
)