-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
28 lines (24 loc) · 940 Bytes
/
setup.py
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
from setuptools import setup, find_packages
import os
with open("PIPREADME.md", "r") as fh:
long_description = fh.read()
def get_resources():
resources = []
for root, dirs, files in os.walk('snappy2/resource'):
resources.extend([os.path.join(root, f) for f in files])
return resources
resources = get_resources()
# print(resources)
setup(
name='snappy2',
version='0.4',
author='Albarqawi',
packages=find_packages(),
include_package_data=True,
url='https://snappy2.ahmadai.com/',
description="Detect faces and draw overlay images",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[ 'opencv-python==3.4.18.65', 'Pillow==9.4.0', 'tensorflow==2.9.0', 'keras==2.9.0', 'numpy==1.24.1', 'Markdown==3.4.1', 'absl-py==1.4.0', 'Werkzeug==2.2.2', 'h5py==3.1.0', 'intelli==0.0.8'],
data_files=[('snappy2/resource', resources)]
)