Opened 17 years ago

Closed 17 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 Holovaty
Component: Tools Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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@…> 17 years ago.
Fixing version metadata in setup.py in static way.
fixing_setuppy_version_dynamic.diff (399 bytes ) - added by ymasuda <ymasuda@…> 17 years ago.
Fixing version metadata in setup.py in dynamic way.

Download all attachments as: .zip

Change History (3)

by ymasuda <ymasuda@…>, 17 years ago

Fixing version metadata in setup.py in static way.

by ymasuda <ymasuda@…>, 17 years ago

Fixing version metadata in setup.py in dynamic way.

comment:1 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

(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