-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (50 loc) · 1.78 KB
/
setup.py
File metadata and controls
59 lines (50 loc) · 1.78 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
from setuptools import setup, find_packages
import os
import re
import sys
VERSION = '0.2.1' # x.y.z[-dev#]
REPOSITORY = 'https://github.com/JustinShenk/party-pi'
PACKAGES = find_packages(where='partypi')
README = ''
# with open('README.rst', 'r') as f:
# README = f.read()
# README = re.sub(r' _(.+): ([^(http)].+)',
# r' _\1: {}/blob/master/\2'.format(REPOSITORY), README)
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = package_files('partypi')
print("Extra_files: ", extra_files)
setup(
name='partypi',
version=VERSION,
description=
'Party Pi is a computer vision emotion detection game with OpenCV and Keras.',
# long_description=README,
author='Justin Shenk',
author_email='shenk.justin@gmail.com',
packages=['partypi'],
package_data={'': extra_files},
install_requires=[
'opencv-contrib-python', 'pillow', 'Flask', 'gunicorn', 'itsdangerous',
'Jinja2', 'six', 'Werkzeug', 'tweepy', 'gevent', 'flask-cors'
],
url=REPOSITORY,
download_url='{}/tarball/{}'.format(REPOSITORY, VERSION),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Programming Language :: Python',
'Topic :: Games/Entertainment',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Multimedia :: Video :: Display',
],
license='MIT',
keywords=['OpenCV', 'computer', 'vision', 'emotion', 'detection', 'game'],
zip_safe=False)