Opened 9 years ago

Closed 9 years ago

#3117 closed defect (fixed)

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

Reported by: ymasuda <ymasuda@…> Owned by: adrian
Component: Tools Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 (2)

fixing_setuppy_version_static.diff (367 bytes) - added by ymasuda <ymasuda@…> 9 years ago.
Fixing version metadata in setup.py in static way.
fixing_setuppy_version_dynamic.diff (399 bytes) - added by ymasuda <ymasuda@…> 9 years ago.
Fixing version metadata in setup.py in dynamic way.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ymasuda <ymasuda@…>

Fixing version metadata in setup.py in static way.

Changed 9 years ago by ymasuda <ymasuda@…>

Fixing version metadata in setup.py in dynamic way.

comment:1 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.
Back to Top