-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·65 lines (55 loc) · 2.04 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python3
import pip
from setuptools import setup
if tuple(map(int, pip.__version__.split('.'))) >= (10, 0, 0):
# noinspection PyProtectedMember
from pip._internal.download import PipSession
# noinspection PyProtectedMember
from pip._internal.req import parse_requirements
else:
# noinspection PyUnresolvedReferences
from pip.download import PipSession
# noinspection PyUnresolvedReferences
from pip.req import parse_requirements
install_requires_g = parse_requirements('requirements.txt', session=PipSession())
install_requires = [str(ir.req) for ir in install_requires_g]
dev_requires_g = parse_requirements('requirements-dev.txt', session=PipSession())
dev_requires = [str(ir.req) for ir in dev_requires_g]
setup(
name='keep-on-giffing',
version='0.1.0',
# PyPI metadata
author='Marti Raudsepp',
author_email='marti@juffo.org',
url='https://github.com/intgr/topy',
download_url='https://pypi.org/project/keep-on-giffing/',
license='MIT',
description='Convert videos to GIF format using FFmpeg.',
long_description=open('README.rst').read(),
platforms='any',
keywords='gif convert video ffmpeg',
classifiers=[
# https://pypi.org/pypi?:action=list_classifiers
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Multimedia :: Video :: Conversion',
],
# Installation settings
packages=['kogif'],
entry_points={'console_scripts': [
'kogif = kogif.kogif:main',
'keep-on-giffing = kogif.kogif:main',
]},
install_requires=install_requires,
extras_require={
'dev': dev_requires,
},
test_suite='tests',
)