From dd727b4314a4ff173501f38a94ea20bd78cd9453 Mon Sep 17 00:00:00 2001 From: alihajiali Date: Thu, 26 Dec 2024 12:04:31 +0330 Subject: [PATCH] add setup.py --- .gitignore | 1 - setup.py | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index a86b1e7..697dd0e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,6 @@ share/python-wheels/ *.egg MANIFEST requirements.txt -setup.py ultralytics.egg-info # PyInstaller diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..2bc743f --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +# setup.py + +from setuptools import setup, find_packages +import os + +# Read the README file for the long description +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +# Read requirements from requirements.txt +with open("requirements.txt") as f: + requirements = f.read().splitlines() + +setup( + name='bi_utils', + version='0.1.0', + description='A Bi Utils Code', + long_description=long_description, + long_description_content_type="text/markdown", + author='BI', + author_email='BI@bi.ir', + url='https://git.d.aiengines.ir/bi/bi_utils', # Replace with your repository URL + packages=find_packages(), + install_requires=requirements, # Use the requirements from the file + include_package_data=True, # Ensure non-code files are included if necessary + classifiers=[ + 'Programming Language :: Python :: 3', + 'License :: OSI Approved :: MIT License', # Change if using a different license + 'Operating System :: OS Independent', + ], + python_requires='>=3.7', +) \ No newline at end of file