-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
36 lines (31 loc) · 1.15 KB
/
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
29
30
31
32
33
34
35
36
from setuptools import setup
import os
def load_text(path):
if os.path.exists(path):
with open(path, encoding="utf-8") as f:
return f.read()
long_description = 'Python Chromakey - Smooth removal of colored backgrounds.'
if os.path.exists('README.md'):
long_description = load_text('README.md')
setup(
name='chromakey',
packages=['chromakey'],
version='1.0.0',
license='MIT',
description='Python Chromakey - Smooth removal of colored backgrounds.',
long_description=long_description,
author='Mowshon',
author_email='[email protected]',
url='https://github.com/mowshon/chromakey',
download_url='https://github.com/mowshon/chromakey',
keywords=['green screen', 'chroma key', 'remove green screen', 'remove background'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Topic :: Multimedia :: Video',
'Topic :: Scientific/Engineering :: Image Processing'
],
install_requires=load_text("requirements.txt").strip().split("\n"),
)