forked from unix0r/FACEID
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (28 loc) · 854 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (28 loc) · 854 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
from setuptools import setup, find_packages, find_namespace_packages
from setuptools.command.install import install
import subprocess
import os
class InstallPyCommand(install):
def run(self):
print('Running custom install programm')
subprocess.call(['./bin/install.sh'])
install.run(self)
setup(
name='FACEID',
version='1.0.0',
url='https://www.hs-furtwangen.de/',
license='',
author='Studiengang Mobile Systeme',
author_email='artur.dick@hs-furtwangen.de',
description='Semesterprojekt',
python_requires='~=3.6',
packages=find_namespace_packages(include=['src.*']),
include_package_data = True,
entry_points = {
'console_scripts': ['FACEID=src.controller.Controller:main']
},
scripts=['bin/install.sh'],
cmdclass={
'install': InstallPyCommand
}
)