You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2020. It is now read-only.
I am unable to run "preprocess -h" in the dos-prompt on my windows 7 system and
pythonxy v2.7.9 out of the box after installation.
I found that it has to do with the console script is not properly registered.
By changing the following in setup.py:
Replace
from distutils.core import setup
with
from setuptools import setup
and
scripts=[script],
with
entry_points={
'console_scripts': ['preprocess = preprocess:main']},
and redefining the beginning of the main function in preprocess to:
def main(argv=None):
if argv is None:
argv = sys.argv
it worked out of the box for me.
Original issue reported on code.google.com by Per.Andreas.Brodtkorb@gmail.com on 19 Jan 2015 at 2:01
Original issue reported on code.google.com by
Per.Andreas.Brodtkorb@gmail.comon 19 Jan 2015 at 2:01