-bash:python setup.py develop:找不到命令

时间:2018-06-13 15:31:46

标签: python virtualenv setuptools

执行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)

0 个答案:

没有答案