-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
24 lines (20 loc) · 898 Bytes
/
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
from setuptools import setup, find_packages
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Tip: Generate requirements using pigar: pigar -p requirements.txt -P pil_video/
setup(
name="pil_video",
version="0.0.4",
description="Play a PIL Image list as a video",
author=" Kodur Krishna Chaitanya",
author_email="[email protected]",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/krishnachaitanya7/pil_video",
install_requires=parse_requirements("requirements.txt"),
packages=find_packages(exclude=("tests", "docs")),
)