-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (40 loc) · 1.33 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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup, find_packages
projectName="mkvsubmerge"
scriptFile="%s/%s.py" % (projectName,projectName)
description="Setuptools setup.py for mkvsubmerge."
version = re.search(
'^__version__\s*=\s*"(.*)"',
open(scriptFile).read(),
re.M
).group(1)
with open("README.md", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name = projectName,
packages = find_packages(),
#add required packages to install_requires list
install_requires=["pysrt","pymkv"],
entry_points = {
"console_scripts": ['%s = %s.%s:main' % (projectName,projectName,projectName)]
},
version = version,
description = description,
long_description = long_descr,
long_description_content_type='text/markdown',
author = "Med0paW",
author_email = "[email protected]",
url = "https://github.com/medopaw/mkvsubmerge",
license='MIT',
#list of classifiers: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
'Topic :: Utilities'],
)