forked from abhirama/coursera-download
-
Notifications
You must be signed in to change notification settings - Fork 299
/
setup.py
29 lines (23 loc) · 895 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
25
26
27
28
#!/usr/bin/env python
from setuptools import setup
from os import path
import os
from courseradownloader import _version
# get the requirements from the pip requirements file
requirements = []
with open("requirements.txt") as f:
for l in f:
l = l.strip()
if l: requirements.append(l)
setup(name="coursera-dl",
version=_version.__version__,
description="Download coursera.org class videos and resources",
long_description=open("README.md").read(),
author="Dirk Gorissen",
author_email="[email protected]",
url="https://github.com/dgorissen/coursera-dl",
license="GPLv3",
packages=["courseradownloader"],
entry_points = { "console_scripts" : [ "coursera-dl = courseradownloader.courseradownloader:main"]},
install_requires=requirements
)