add setup.py
This commit is contained in:
parent
3d57ffce1d
commit
c0389e3ba8
9
run_agi.py
Normal file
9
run_agi.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
os.system("streamlit run chat.py")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
36
setup.py
Normal file
36
setup.py
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
# Read the contents of the requirements.txt file
|
||||||
|
with open("requirements.txt") as f:
|
||||||
|
requirements = [line.strip() for line in f.readlines() if not line.startswith("-f")]
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name="ai-talks",
|
||||||
|
version="0.8.8.1",
|
||||||
|
exclude_package_data={"": ["secrets.toml"]},
|
||||||
|
packages=find_packages(exclude=["secrets.toml", ]),
|
||||||
|
install_requires=requirements, # Use the parsed requirements here
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": [
|
||||||
|
"ai-talks=run_agi:main",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
author="Dmitry Kosarevsky",
|
||||||
|
author_email="if.kosarevsky@gmail.com",
|
||||||
|
description="A ChatGPT API wrapper, providing a user-friendly Streamlit web interface",
|
||||||
|
long_description=open("README.md").read(),
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
url="https://github.com/dKosarevsky/AI-Talks",
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.6",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
|
],
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user