|
1 | 1 | from pathlib import Path |
2 | | -from setuptools import setup |
| 2 | +from setuptools import find_packages, setup |
3 | 3 |
|
4 | 4 | __version__ = "0.1.0" |
5 | 5 |
|
| 6 | +# Pull in the long description from the README |
| 7 | +with Path("README.md").open("r", encoding="utf-8") as f: |
| 8 | + long_description = f.read() |
| 9 | + |
6 | 10 | # Get requirements from requirements.txt |
7 | 11 | with Path.open("requirements/requirements.txt") as f: |
8 | 12 | requirements = f.read().splitlines() |
9 | 13 |
|
10 | | -# Only run setup if this is the main file (allows this file to be imported for __version__) |
11 | | -if __name__ == "__main__": |
| 14 | +if __name__ == "__main__": # Only run setup if this is the main file (allows this file to be imported for __version__) |
12 | 15 | setup( |
13 | 16 | name="aicodebot", |
14 | | - version="0.1.0", |
| 17 | + packages=find_packages(), |
| 18 | + version="0.2.0", |
15 | 19 | url="https://github.com/novara_ai/aicodebot", |
16 | 20 | author="Nick Sullivan", |
17 | | - description="Your AI-powered coding companion", |
| 21 | + description="Your AI-powered coding companion: AI Code Bot 🤖", |
| 22 | + long_description=long_description, |
| 23 | + long_description_content_type="text/markdown", |
18 | 24 | install_requires=requirements, |
| 25 | + entry_points={ |
| 26 | + "console_scripts": [ |
| 27 | + "aicodebot = aicodebot.cli:main", |
| 28 | + ], |
| 29 | + }, |
19 | 30 | classifiers=[ |
20 | 31 | "Development Status :: 3 - Alpha", |
21 | 32 | "Intended Audience :: Developers", |
|
0 commit comments