Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.43 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (43 loc) · 1.43 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
from setuptools import setup, find_packages
def read_requirements():
with open('requirements.txt') as req:
content = req.read()
requirements = content.split('\n')
return requirements
classifiers = [
'Topic :: Security',
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Intended Audience :: End Users/Desktop',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7'
]
def Longdesc():
with open('README.md') as rm:
RM_desc = rm.read()
RM_desc = str(RM_desc)
with open('ChangeLog.md') as cl:
CL_desc = cl.read
CL_desc = str(CL_desc)
return f"{CL_desc}\n\n{RM_desc}"
setup(
name='skyhawk',
version='0.0.7',
description='Skyhawk is a CLI tool that can run on any device with a camera to recognize faces. It built with open-cv & python',
long_description=Longdesc(),
long_description_content_type="text/markdown",
url='https://github.com/devqueue/Skyhawk-cli.git',
author='Haziq Sayyed',
license='Mozilla Public License 2.0',
classifiers=classifiers,
packages=find_packages(),
include_package_dat=True,
install_requires=read_requirements(),
python_requires='>=3.8',
entry_points={
'console_scripts': [
'skyhawk = skyhawk.cli:cli'
]
})