Skip to content

Commit 583836b

Browse files
requirements added
1 parent a51be0e commit 583836b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

setup.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11

2+
# requirements
3+
try:
4+
with open('requirements.txt') as f:
5+
reqs = f.read().splitlines()
6+
except:
7+
reqs = []
8+
29
import setuptools
310
with open("README.md", "r", encoding="UTF-8") as fh:
411
long_description = fh.read()
512

613
setuptools.setup(
714
name = 'waybackmachine',
8-
version = '0.1.0',
15+
version = '0.1.1',
916
author = 'Martin Beneš',
1017
author_email = 'martinbenes1996@gmail.com',
1118
description = 'Envelope for archive.org API.',
@@ -14,9 +21,9 @@
1421
packages=setuptools.find_packages(),
1522
license='MPL',
1623
url = 'https://github.com/martinbenes1996/waybackmachine',
17-
download_url = 'https://github.com/martinbenes1996/waybackmachine/archive/0.1.0.tar.gz',
24+
download_url = 'https://github.com/martinbenes1996/waybackmachine/archive/0.1.1.tar.gz',
1825
keywords = ['waybackmachine', 'archive', 'web', 'html', 'webscraping'],
19-
install_requires=[],
26+
install_requires = reqs,
2027
package_dir={'': '.'},
2128
classifiers=[
2229
'Development Status :: 4 - Beta',

0 commit comments

Comments
 (0)