Skip to content

Commit 1cc8184

Browse files
committed
Revert changes in setup.py, only add Dockerfile
1 parent b9d18a3 commit 1cc8184

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM python:2.7.15-alpine3.7
2+
RUN pip install bs4
23
COPY . /app
3-
RUN pip install /app[redditdl.py] && redditdl.py -h
4+
RUN pip install /app
5+
RUN redditdl.py -h
46
WORKDIR /data
57
ENTRYPOINT [ "redditdl.py" ]

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
packages=['redditdownload'],
2424
entry_points={
2525
'console_scripts': [
26-
'redditdl.py = redditdownload.redditdownload:main [redditdl]',
26+
'redditdl.py = redditdownload.redditdownload:main',
2727
],
2828
},
2929
install_requires=[
@@ -32,9 +32,6 @@
3232
# any non-core libraries.
3333
],
3434
extras_require={
35-
'redditdl.py': [
36-
'bs4'
37-
],
3835
'recommended': [
3936
'bs4', 'lxml',
4037

0 commit comments

Comments
 (0)