1
0
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:
Eduard-Cristian Stefan 2012-08-22 21:33:19 +03:00
parent 538c74761a
commit c5b8e85c79

@ -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()