sdist和bdist_wheel在构建时冻结

时间:2018-01-15 07:53:15

标签: python

我正在尝试在我的项目的Windows 10上构建一个轮子和源代码分发,但构建在removing 'release-exporter-1.0' (and everything under it)冻结sdistcreating build\bdist.win-amd64\wheel\release_exporter-1.0.dist-info\WHEEL冻结bdist_wheel

以下是我的setup.py

setup(
    name='release-exporter',
    version=version(),
    install_requires=get_requirements('requirements.txt'),
    packages=find_packages(),
    url='https://github.com/akshaybabloo/release-exporter',
    license='MIT',
    author='Akshay Raj Gollahalli',
    author_email='akshay@gollahalli.com',
    description='Release exporter for GitHub and GitLab.',
    keywords="changelog releases",
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3 :: Only',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Intended Audience :: Developers',
        'Environment :: Console',
        'Development Status :: 5 - Production/Stable',
        'Topic :: Utilities'
    ],
    entry_points={
        'console_scripts': [
            'rex = release_exporter:main'
        ]
    },
)

我尝试手动将包名称从['release_exporter']提供给使用find_packages()的设置工具。我还认为keyword应该是一个字符串,因此我将其从['changelog', 'releases']更改为"changelog releases"。但仍然没有运气。

另外,我尝试通过--verbose设置python setup.py sdist --verbose标志,但它不起作用。我认为该错误尚未得到纠正 - > https://bugs.python.org/issue7202

任何帮助都将不胜感激。

更新

我正在使用Python 3.6.3

1 个答案:

答案 0 :(得分:0)

Python 3.6.3中的错误 - > https://docs.python.org/3.6/whatsnew/changelog.html#build。如果有人遇到问题,请将Python更新为Python 3.4.4