Initial commit of the code.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
question: |-
|
||||
Give me the content of the setup.py file.
|
||||
answer: |-
|
||||
To create a `setup.py` file for the ChatMastermind project, use the following content:
|
||||
|
||||
```python
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
with open("README.md", "r", encoding="utf-8") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
setup(
|
||||
name="ChatMastermind",
|
||||
version="0.1.0",
|
||||
author="Your Name",
|
||||
author_email="your.email@example.com",
|
||||
description="A Python application to automate conversation with AI, store question+answer pairs, and compose chat history.",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/yourusername/ChatMastermind",
|
||||
packages=find_packages(),
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
],
|
||||
install_requires=[
|
||||
# Add your project's dependencies here
|
||||
],
|
||||
python_requires=">=3.6",
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"chatmastermind=chatmastermind.main:main",
|
||||
],
|
||||
},
|
||||
)
|
||||
```
|
||||
|
||||
Replace "Your Name", "your.email@example.com", and "yourusername" with your own information. Make sure to also update the `install_requires` list with any dependencies your project needs. This `setup.py` file uses the setuptools package to define the project's metadata, dependencies, and entry points for console scripts.
|
||||
tags:
|
||||
- FileSetupPy
|
||||
Reference in New Issue
Block a user