How to create a Pure-Python wheel

后端 未结 2 1739
终归单人心
终归单人心 2021-01-12 01:10

From the following setup.py file, I am trying to create a pure-python wheel from a project that should contain only python 2.7 code.

from setuptools import s         


        
2条回答
  •  孤街浪徒
    2021-01-12 01:40

    Adding the classifiers field to my setup.py fixed this issue.

    from setuptools import setup
    
    setup(
        name='foo',
        version='0.0.1',
        description='',
        url='',
        classifiers=[
            'Programming Language :: Python :: 2.7',
        ],
        install_requires=[
            'bpython',
            'Django==1.8.2',
        ],
    )
    

提交回复
热议问题