Skip to content

Commit

Permalink
Replace scripts by entry_points
Browse files Browse the repository at this point in the history
and remove anarchism_update.py, since is a a copy of scraper.py.
Leave scraper.py named like that so that morph.io can still work, but name
the entry point `afaq-dl`.
  • Loading branch information
juxor committed Jan 8, 2020
1 parent cae4e38 commit e988cec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 148 deletions.
146 changes: 0 additions & 146 deletions bin/anarchism_update

This file was deleted.

7 changes: 5 additions & 2 deletions setup.py
Expand Up @@ -45,8 +45,11 @@
'test': ['coverage'],
},
python_requires='>=3.7',
#entry_points={'scrapy': ['settings = afaqdl.settings']},
scripts=['bin/anarchism_update'],
entry_points={
'console_scripts': [
'afaq-dl = scraper:main',
]
},
keywords='python scrapy afaq anarchism git html markdown',
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit e988cec

Please sign in to comment.