Author Decorater
Recipients Decorater, dstufft, eric.araujo
Date 2016-12-30.08:37:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483087064.15.0.921977916672.issue29115@psf.upfronthosting.co.za>
In-reply-to
Content
So, I could have an example setup.py which sets a bugtrack url however using sdist and bdist_wheel on them produces this warning:

H:\Python\Python360\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'bugtrack_url'
  warnings.warn(msg)

The issue with this is wanting to set or change the bug track url's for the particular packages using setup.py to generate a PKG-INFO file which explicitly sets the value.

Currently there is no way to modify the fields online anymore since probably like 3~4 months ago I before was able to do it for a little while without having to upload a PKG-INFO file.

Example setup.py that does this:

from setuptools import setup
import re

requirements = []
try:
    with open('requirements.txt') as f:
        requirements = f.read().splitlines()
except Exception as ex:
    with open('sasync.egg-info\requires.txt') as f:
        requirements = f.read().splitlines()

version = '0.0.1'

if not version:
    raise RuntimeError('version is not set')

with open('README') as f:
    readme = f.read()

setup(name='examplepackage',
      author='Decorater',
      author_email='seandhunt_7@yahoo.com',
      url='https://github.com/AraHaan/examplepackage',
      bugtrack_url='https://github.com/AraHaan/examplepackage/issues',
      version=version,
      packages=['sasync'],
      license='MIT',
      description=('example package package demonstrating that bugtrack_url is not recognized by distutils.'),
      long_description=readme,
      maintainer_email='seandhunt_7@yahoo.com',
      download_url='https://github.com/AraHaan/examplepackage',
      include_package_data=True,
      install_requires=requirements,
      platforms='Any',
      classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Other Audience',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Topic :: Software Development :: Libraries :: Python Modules',
      ]
)
History
Date User Action Args
2016-12-30 08:37:44Decoratersetrecipients: + Decorater, eric.araujo, dstufft
2016-12-30 08:37:44Decoratersetmessageid: <1483087064.15.0.921977916672.issue29115@psf.upfronthosting.co.za>
2016-12-30 08:37:44Decoraterlinkissue29115 messages
2016-12-30 08:37:43Decoratercreate