执行python setup.py develop
时,控制台会打印
-bash: python setup.py develop: command not found
在删除并使用
重新创建virtualenv之后发生了这种情况virtualenv -p python3 ENV
source ENV/bin/activate
setup.py
看起来像这样
from setuptools import setup
setup(name='my-downloader',
version='0.1',
description='download tool',
url='',
author='Me',
author_email='email',
license='MIT',
packages=['downloader'],
package_dir={'': 'src'},
python_requires='~=3.6',
entry_points={
'console_scripts': [
'download-it=downloader.download:main_func'
]
},
install_requires=['aiohttp'],
zip_safe=False)