2023-06-06 12:11:49 +00:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
with open("engineapi/version.txt") as ifp:
|
|
|
|
VERSION = ifp.read().strip()
|
|
|
|
|
|
|
|
long_description = ""
|
|
|
|
with open("README.md") as ifp:
|
|
|
|
long_description = ifp.read()
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="engineapi",
|
|
|
|
version=VERSION,
|
|
|
|
packages=find_packages(),
|
|
|
|
install_requires=[
|
|
|
|
"boto3",
|
2024-08-13 17:10:15 +00:00
|
|
|
"bugout>=0.2.17",
|
2023-06-06 12:11:49 +00:00
|
|
|
"eip712==0.1.0",
|
|
|
|
"eth-typing>=2.3.0",
|
|
|
|
"fastapi",
|
2023-07-04 12:29:52 +00:00
|
|
|
"redis",
|
2023-06-06 12:11:49 +00:00
|
|
|
"psycopg2-binary",
|
|
|
|
"pydantic",
|
2023-07-04 12:29:52 +00:00
|
|
|
"python-multipart",
|
2023-06-06 12:11:49 +00:00
|
|
|
"sqlalchemy",
|
|
|
|
"tqdm",
|
|
|
|
"uvicorn",
|
|
|
|
"web3>=5.30.0, <6",
|
|
|
|
"tabulate",
|
|
|
|
],
|
|
|
|
extras_require={
|
|
|
|
"dev": ["alembic", "black", "mypy", "isort"],
|
|
|
|
"distribute": ["setuptools", "twine", "wheel"],
|
|
|
|
},
|
|
|
|
description="Command line interface for Moonstream Engine API",
|
|
|
|
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.8",
|
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
|
|
|
"engineapi=engineapi.cli:main",
|
|
|
|
]
|
|
|
|
},
|
|
|
|
package_data={"engineapi": ["contracts/*.json"]},
|
|
|
|
include_package_data=True,
|
|
|
|
)
|