-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
51 lines (44 loc) · 1.6 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
import io
import os
from setuptools import find_packages, setup
from mydia.mydia import __version__
NAME = "mydia"
DESCRIPTION = "A simple and efficient wrapper for reading videos as NumPy tensors."
URL = "https://github.com/MrinalJain17/mydia"
DOCS = "https://mrinaljain17.github.io/mydia/"
AUTHOR = "Mrinal Jain"
EMAIL = "[email protected]"
VERSION = __version__
REQUIRED = ["numpy>=1.14.5", "ffmpeg-python>=0.1.16", "tqdm>=4.25.0"]
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = "\n" + f.read()
long_description = long_description.replace("\r", "")
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=URL,
author=AUTHOR,
author_email=EMAIL,
license="MIT",
install_requires=REQUIRED,
setup_requires=["pytest-runner"],
tests_require=["pytest", "numpy"],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Video :: Capture",
],
packages=find_packages(exclude=("tests",)),
project_urls={"Documentation": DOCS, "Source": URL},
)