2022-07-25 19:36:37 +00:00
|
|
|
from setuptools import find_packages, setup
|
2022-07-20 19:26:53 +00:00
|
|
|
|
|
|
|
|
with open("./README.md", "r") as fh:
|
|
|
|
|
long_description = fh.read()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
with open("./VERSION") as f:
|
|
|
|
|
version = f.read().strip()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
with open("requirements.txt", "r") as fh:
|
|
|
|
|
requirements = fh.readlines()
|
|
|
|
|
|
|
|
|
|
|
2023-05-01 16:13:17 +00:00
|
|
|
with open("package_name.txt", "r") as fh:
|
|
|
|
|
package_name = fh.read().strip().lower()
|
|
|
|
|
|
2022-07-20 19:26:53 +00:00
|
|
|
setup(
|
|
|
|
|
install_requires=[req for req in requirements if req[:2] != "# "],
|
2023-05-01 16:13:17 +00:00
|
|
|
name=package_name,
|
2022-07-20 19:26:53 +00:00
|
|
|
version=version,
|
|
|
|
|
author="dev@flipsidecrypto.com",
|
|
|
|
|
author_email="dev@flipsidecrypto.com",
|
2023-04-30 18:41:01 +00:00
|
|
|
description="SDK by Flipside Crypto: Query the most reliable & comprehensive blockchain data in crypto",
|
2022-07-20 19:26:53 +00:00
|
|
|
long_description=long_description,
|
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
|
url="https://github.com/FlipsideCrypto/sdk/python",
|
2023-05-01 16:13:17 +00:00
|
|
|
packages=find_packages(exclude=["src"]), # Add the exclude parameter here
|
2022-07-20 19:26:53 +00:00
|
|
|
include_package_data=True,
|
|
|
|
|
classifiers=[
|
2022-07-25 19:36:37 +00:00
|
|
|
"Development Status :: 5 - Production/Stable", # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
|
|
|
|
|
"Intended Audience :: Developers", # Define that your audience are developers
|
|
|
|
|
"License :: OSI Approved :: MIT License", # Again, pick a license
|
2022-07-20 19:26:53 +00:00
|
|
|
"Operating System :: OS Independent",
|
2022-07-25 19:36:37 +00:00
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
|
"Programming Language :: Python :: 3.10",
|
2022-07-20 19:26:53 +00:00
|
|
|
],
|
|
|
|
|
dependency_links=[],
|
2025-01-26 20:46:05 +00:00
|
|
|
python_requires=">=3.8",
|
2022-07-20 19:26:53 +00:00
|
|
|
)
|