forked from github/pelican
Support for python -m pelican
Addresses https://github.com/getpelican/pelican/issues/2523 Note: @avaris made a good point that there is no need to replace the existing module runner for pelican quickstart or the other tools as this can be run via: > python -m pelican.tools.pelican_quickstart
This commit is contained in:
parent
d8d230b554
commit
4bae94834e
3 changed files with 18 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -12,7 +12,7 @@ requires = ['feedgenerator >= 1.9', 'jinja2 >= 2.7', 'pygments', 'docutils',
|
|||
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'pelican = pelican:main',
|
||||
'pelican = pelican.__main__:main',
|
||||
'pelican-import = pelican.tools.pelican_import:main',
|
||||
'pelican-quickstart = pelican.tools.pelican_quickstart:main',
|
||||
'pelican-themes = pelican.tools.pelican_themes:main'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue