mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
Add 'console_scripts' section to 'entry_points', so 'pypi-server.exe' will be created on Windows.
This commit is contained in:
parent
538c74761a
commit
c5b8e85c79
5
setup.py
5
setup.py
@ -4,7 +4,10 @@ import sys, os
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
extra = dict(entry_points={'paste.app_factory': ['main=pypiserver:paste_app_factory']})
|
extra = dict(entry_points={
|
||||||
|
'paste.app_factory': ['main=pypiserver:paste_app_factory'],
|
||||||
|
'console_scripts': ['pypi-server=pypiserver.core:main']
|
||||||
|
})
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
extra = dict()
|
extra = dict()
|
||||||
|
Loading…
Reference in New Issue
Block a user