initial commit diff --git a/setup.py b/setup.py new file mode 100644 --- /dev/null +++ b/setup.py @@ -0,0 +1,19 @@ +from setuptools import setup, find_packages + +setup( + name="lm", + version="0.0.1", + packages=find_packages(), + install_requires=[], + author="Your Name", + author_email="your.email@example.com", + description="lm", + long_description=open("README.md").read(), + long_description_content_type="text/markdown", + url="https://github.com/yourusername/lm", + classifiers=[ + "Development Status :: 3 - Alpha", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Programming Language :: Python :: 3", + ], +) factored logging into log_jsonfiles.py diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -16,4 +16,7 @@ setup( "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 3", ], + install_requires=[ + "aiofiles==0.6.0", + ], ) install console script; fix duplicate entry diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -4,19 +4,23 @@ setup( name="lm", version="0.0.1", packages=find_packages(), - install_requires=[], author="Your Name", author_email="your.email@example.com", description="lm", long_description=open("README.md").read(), long_description_content_type="text/markdown", url="https://github.com/yourusername/lm", + entry_points={ + "console_scripts": [ + "lm=lm.__main__:main", + ], + }, + install_requires=[ + "aiofiles==0.6.0", + ], classifiers=[ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 3", ], - install_requires=[ - "aiofiles==0.6.0", - ], ) committing most of current changes diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -15,6 +15,9 @@ setup( "lm=lm.__main__:main", ], }, + extras_require={ + "openai": ["openai>=0.27.0"], + }, install_requires=[ "aiofiles==0.6.0", ], added a dependency on pyarweave when the arweave extra is selected, and an 'all' extra that includes both of the other extras