1. Create a file script.tmpl under C:\Users\xxx\AppData\Roaming\Python\Python37\site-packages
2. paste the below code
3. run your setup again
py setup.py install
-- Enjoy
2. paste the below code
# EASY-INSTALL-SCRIPT: %(spec)r,%(script_name)r __requires__ = %(spec)r __import__('pkg_resources').run_script(%(spec)r, %(script_name)r)
3. run your setup again
py setup.py install
-- Enjoy
No comments:
Post a Comment