-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (33 loc) · 1023 Bytes
/
setup.py
File metadata and controls
39 lines (33 loc) · 1023 Bytes
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
from setuptools import setup, find_packages
from pathlib import Path
# load dependencies
def load_requirements():
requirements_path = Path('requirements.txt')
if not requirements_path.exists():
return []
with open(requirements_path, 'r') as f:
# Filter out comments and empty lines
return [line.strip() for line in f if line.strip() and not line.startswith('#')]
# project setup
setup(
name='hair-type-classifier',
version='0.1.0',
description='Computer Vision project for hair type classification.',
author='Ola/sq7alx',
packages=find_packages(
include=[
'src', 'src.*',
'config', 'config.*',
'scripts', 'scripts.*',
'face_parsing', 'face_parsing.*'
],
exclude=[
'tests', 'notebooks', '*.pyc', '*.egg-info'
]
),
package_data={
'config': ['config.yaml'],
},
install_requires=load_requirements(),
python_requires='>=3.8',
)