Django

Code

Ticket #3117 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[Patch] Django version should be set "0.96pre" or like for setup.py in trunk

Reported by: ymasuda <ymasuda@ethercube.com> Assigned to: adrian
Milestone: Component: Tools
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

In trunk setup.py, the "version" metadata is set to "0.95". This is causing the name of source/binary distributions like "Django-0.95.tar.gz"; this is confusing when we are distributing trunk/0.95 release. To fix the problem, I'd like to post two possible patches:

1. "fixing_setuppy_version_static.diff" patch, which sets the version with hard-coded "0.96-pre". 2. "fixing_setuppy_version_dynamic.diff" patch, which sets the version from django.VERSION.

Attachments

fixing_setuppy_version_static.diff (367 bytes) - added by ymasuda <ymasuda@ethercube.com> on 12/08/06 18:48:36.
Fixing version metadata in setup.py in static way.
fixing_setuppy_version_dynamic.diff (399 bytes) - added by ymasuda <ymasuda@ethercube.com> on 12/08/06 18:49:12.
Fixing version metadata in setup.py in dynamic way.

Change History

12/08/06 18:48:36 changed by ymasuda <ymasuda@ethercube.com>

  • attachment fixing_setuppy_version_static.diff added.

Fixing version metadata in setup.py in static way.

12/08/06 18:49:12 changed by ymasuda <ymasuda@ethercube.com>

  • attachment fixing_setuppy_version_dynamic.diff added.

Fixing version metadata in setup.py in dynamic way.

12/13/06 00:07:15 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [4195]) Fixed #3117 -- Changed setup.py to get version from django.VERSION dynamically. Thanks for the patch, ymasuda


Add/Change #3117 ([Patch] Django version should be set "0.96pre" or like for setup.py in trunk)




Change Properties
Action