-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (57 loc) · 1.89 KB
/
setup.py
File metadata and controls
60 lines (57 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from setuptools import setup, find_packages
def get_version():
with open('visiofirm/__init__.py', 'r', encoding='utf-8') as f:
for line in f:
if line.startswith('__version__'):
return line.split('=')[1].strip().strip("'\"")
raise RuntimeError('Unable to find version string in visiofirm/__init__.py')
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='visiofirm',
version=get_version(),
author='Safouane El Ghazouali',
author_email='safouane.elghazouali@gmail.com',
description='Fast almost fully automated image annotation tool for computer vision tasks detection, oriented bounding boxes and segmentation.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/OschAI/VisioFirm',
packages=find_packages(),
py_modules=['run'],
include_package_data=True,
install_requires= [
'filelock==3.19.1',
'networkx==3.4.2',
'openai_clip==1.0.1',
'opencv-contrib-python==4.12.0.88',
'Pillow==11.3.0',
'psutil==7.0.0',
'PyYAML==6.0.2',
'rapidfuzz==3.13.0',
'rarfile==4.2',
'torch==2.8.0',
'ultralytics==8.3.185',
'Werkzeug==3.1.3',
'groundingdino-py',
'uvicorn==0.32.0',
'waitress==3.0.2',
'tqdm==4.67.1',
'fastapi==0.115.0',
'python-jose[cryptography]==3.3.0',
'passlib[bcrypt]==1.7.4',
'bcrypt==4.0.1',
'python-multipart==0.0.20',
'transformers==4.41.2',
],
entry_points={
'console_scripts': [
'visiofirm = run:main',
]
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
python_requires='>=3.10',
)