add setup.py
This commit is contained in:
parent
24b71963e4
commit
dd727b4314
1
.gitignore
vendored
1
.gitignore
vendored
@ -27,7 +27,6 @@ share/python-wheels/
|
||||
*.egg
|
||||
MANIFEST
|
||||
requirements.txt
|
||||
setup.py
|
||||
ultralytics.egg-info
|
||||
|
||||
# PyInstaller
|
||||
|
||||
32
setup.py
Normal file
32
setup.py
Normal file
@ -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',
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user