bdist creates broken packages on pythons < 2.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I've been using bdist to try to create RPMs of graphite-web.
If on CentOS 5.7 you run 'python setup.py bdist --format rpm', the files specified in package_data and data_files are not in the resulting rpm. On Fedora 15, they are.
I think this is because the default list of files to distribute has only included files that matches the package_data and data_files metadata since Python 2.7.
http://
http://
http://
http://
I think the fix for bdist on python 2.4 through 2.6 is to write a MANIFEST.in which includes the files from package_data and data_files.
Changed in graphite: | |
milestone: | none → 0.9.10 |
Changed in graphite: | |
status: | Fix Committed → Fix Released |
Can you create.those files? I'm not very familiar with that procedure.
-Nick
Sent from a mobile device.
Please excuse terse language and spelling mistakes.
Brian Pitts <email address hidden> wrote:
>Public bug reported: docs.python. org/release/ 2.4/dist/ manifest. html docs.python. org/release/ 2.5/dist/ manifest. html docs.python. org/release/ 2.6.7/distutils /sourcedist. html#specifying -the-files- to-distribute docs.python. org/distutils/ sourcedist. html /bugs.launchpad .net/bugs/ 876991 docs.python. org/release/ 2.4/dist/ manifest. html docs.python. org/release/ 2.5/dist/ manifest. html docs.python. org/release/ 2.6.7/distutils /sourcedist. html#specifying -the-files- to-distribute docs.python. org/distutils/ sourcedist. html /bugs.launchpad .net/graphite/ +bug/876991/ +subscriptions
>
>I've been using bdist to try to create RPMs of graphite-web.
>
>If on CentOS 5.7 you run 'python setup.py bdist --format rpm', the files
>specified in package_data and data_files are not in the resulting rpm.
>On Fedora 15, they are.
>
>I think this is because the default list of files to distribute has only
>included files that matches the package_data and data_files metadata
>since Python 2.7.
>
>http://
>http://
>http://
>http://
>
>I think the fix for bdist on python 2.4 through 2.6 is to write a
>MANIFEST.in which includes the files from package_data and data_files.
>
>** Affects: graphite
> Importance: Undecided
> Status: New
>
>--
>You received this bug notification because you are subscribed to
>Graphite.
>https:/
>
>Title:
> bdist creates broken packages on pythons < 2.7
>
>Status in Graphite - Enterprise scalable realtime graphing:
> New
>
>Bug description:
> I've been using bdist to try to create RPMs of graphite-web.
>
> If on CentOS 5.7 you run 'python setup.py bdist --format rpm', the
> files specified in package_data and data_files are not in the
> resulting rpm. On Fedora 15, they are.
>
> I think this is because the default list of files to distribute has
> only included files that matches the package_data and data_files
> metadata since Python 2.7.
>
> http://
> http://
> http://
> http://
>
> I think the fix for bdist on python 2.4 through 2.6 is to write a
> MANIFEST.in which includes the files from package_data and
> data_files.
>
>To manage notifications about this bug go to:
>https:/