1
0
mirror of https://github.com/django/django.git synced 2024-12-30 21:16:26 +00:00
Commit Graph

120 Commits

Author SHA1 Message Date
django-bot
9c19aff7c7 Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
Carlton Gibson
c1d50b901b
Fixed #33044 -- Reallowed editable install into user site directory.
Regression in f8f35e8c53.
2021-09-01 22:09:37 +02:00
Nick Pope
78eaae9bf1
Removed obsolete version check in setup.py.
This was originally added to ensure that Django 2.0+ could not be
installed on Python 2.7 or earlier, in particular where the version of
pip or setuptools being used did not support the python_requires
argument.

Unfortunately, as REQUIRED_PYTHON has been bumped, this check no longer
satisfies its original purpose and could be misleading, e.g. if
REQUIRED_PYTHON is 3.8 and CURRENT_PYTHON is 3.7 it would request that
Django < 2 is installed, but there are later versions of Django that
support Python 3.7.

By the time Django 4 is released in December 2021, the python_requires
argument will have been supported for over five years, and Python 2 will
have been EOL for nearly two years, so we can remove this check.

See https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
2021-04-15 08:12:35 +02:00
Mariusz Felisiak
ec0ff40631 Fixed #32355 -- Dropped support for Python 3.6 and 3.7 2021-02-10 10:20:54 +01:00
Jon Dufresne
85efc14a2e Fixed #30948 -- Changed packaging to use declarative config in setup.cfg.
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2019-11-08 14:14:13 +01:00
Nick Pope
7b915ba8e8 Clarified that license is BSD 3-Clause in package metadata. 2019-11-07 14:36:46 +01:00
Stephen Rauch
4b6db766ba Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
Support for sqlparse < 0.2.2 was broken in
782d85b6df because is_whitespace property
was added in sqlparse 0.2.2.
2019-11-06 08:45:43 +01:00
Jon Dufresne
cff6b14b27 Removed unnecessary EXCLUDE_FROM_PACKAGES from setup.py.
Unnecessary since abc0777b63 where the
extension was changed to not be ".py". Also, django.bin doesn't have
a __init__.py file, so it is not a package and therefore it's not
excluded by this argument.
2019-11-04 15:36:10 +01:00
Bastien Vallet
37f02c47f8 Refs #29926 -- Added Python 3.8 to classifiers and tox.ini. 2019-10-24 13:08:52 +02:00
Andrew Godwin
a415ce70be Fixed #30451 -- Added ASGI handler and coroutine-safety.
This adds an ASGI handler, asgi.py file for the default project layout,
a few async utilities and adds async-safety to many parts of Django.
2019-06-20 12:29:43 +02:00
Tim Graham
7e6b214ed3 Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
Tim Graham
f82be9ebc7
Fixed #29934 -- Added sqlparse as a require dependency. 2018-11-09 19:09:36 -05:00
Asif Saifuddin Auvi
2f7cd7f8ec Refs #28814 -- Documented Python 3.7 compatibility. 2018-06-28 11:02:29 -04:00
Philip James
437c4b57ac Fixed #29410 -- Added project_urls to setup.py. 2018-05-16 22:08:38 -04:00
Carlton Gibson
2e1f674897
Fixed #29373 -- Added long_description in setup.py. 2018-05-03 15:43:30 +02:00
Zac-HD
32ade4d73b Fixed #28878 -- Added python_requires in setup.py and a warning for older pips that don't recognize it. 2017-12-22 18:25:05 -05:00
Nick Pope
1818d13de7 Added "Python 3 Only" trove classifier. 2017-12-06 09:25:34 -05:00
Tim Graham
cfff2af02b Fixed #27857 -- Dropped support for Python 3.4. 2017-09-25 17:11:03 -04:00
Tim Graham
1c466994d9 Refs #23919 -- Removed misc Python 2/3 references. 2017-01-25 13:59:25 -05:00
Tim Graham
4701abd56e Refs #27025 -- Documented Python 3.6 compatibility for Django 1.11. 2016-12-27 12:01:24 -05:00
Tim Graham
414ad25b09 Fixed #27327 -- Simplified time zone handling by requiring pytz. 2016-10-27 08:53:20 -04:00
Adam Chainz
78ec4dfeff Used HTTPS link to djangoproject.com in setup.py. 2016-09-22 19:37:19 -04:00
Bas Westerbaan
a5033dbc58 Refs #26033 -- Added password hasher support for Argon2 v1.3.
The previous version of Argon2 uses encoded hashes of the form:
   $argon2d$m=8,t=1,p=1$<salt>$<data>

The new version of Argon2 adds its version into the hash:
   $argon2d$v=19$m=8,t=1,p=1$<salt>$<data>

This lets Django handle both version properly.
2016-04-25 21:17:53 -04:00
Bas Westerbaan
b4250ea04a Fixed #26033 -- Added Argon2 password hasher. 2016-03-08 11:22:18 -05:00
Tim Graham
982b79b8d8 Corrected trove classifiers for Python version support. 2015-08-17 08:34:34 -04:00
Tim Graham
660676c7e7 Updated trove classifier to Pre-Alpha. 2015-02-25 08:39:01 -05:00
Tim Graham
0ed7d15563 Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
Tim Graham
fed25f1105 Removed compatibility with Python 3.2. 2015-01-17 09:00:17 -05:00
Alex Gaynor
464b98b1fe Include an 'extra_requires' for bcrypt 2014-04-17 11:28:09 -07:00
Berker Peksag
47509e3c5d Added Python 3.4 to classifiers in setup.py. 2014-03-30 17:45:52 -04:00
Florian Apolloner
088cb711fe Fixed #21827 -- Install django-admin and django-admin.py
We need to figure out how to deprecate django-admin.py, but for now this
should do the trick.
2014-01-21 17:40:52 +01:00
Florian Apolloner
151dae2bea Changed django-admin back to django-admin.py. Refs #21827 2014-01-21 09:21:51 +01:00
Florian Apolloner
6ad7bd44c6 Changed setup.py to use find_packages. 2013-12-31 12:35:05 +01:00
Florian Apolloner
929ceadda1 Switched setup.py to setuptools. 2013-12-27 00:51:53 +01:00
Aymeric Augustin
a763915a03 Bumped minimum Python version requirement to 2.7 in Django 1.7. 2013-07-01 12:01:59 +02:00
Aymeric Augustin
efe6e16008 Fixed #20615 -- Added trove classifiers for major Python versions. 2013-06-18 13:26:06 +02:00
Jacob Kaplan-Moss
80b1511311 Bumped verion numbers for 1.6a1. 2013-06-06 11:05:33 -05:00
Florian Apolloner
a5becad909 Fixed #19252 -- Added support for wheel packages.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2013-05-01 13:46:06 +02:00
Donald Stufft
5c771da3ab Remove download_url from setup.py
* Prevents issues with moving download locations in the future, see
  https://www.djangoproject.com/m/bad-installer.txt
* Removes a location that release managers need to update with a
  new version
* Very little use when files are hosted on PyPI (as Django's are)
2013-04-04 15:42:44 -04:00
Florian Apolloner
c8deaa9e7b Adjusted download_url in setup.py 2013-04-03 12:07:17 +03:00
Carl Meyer
0524ad3fad Fixed setup.py overlaid-install warning.
Before this change, if you had a global Django installation in /usr/local/, you
might get a spurious warning when installing Django within a virtualenv.

Thanks epicserve for the report and debugging help.
2013-03-29 13:49:37 -06:00
Claude Paroz
5c51d71f9a Added Python 3.2/3.3 trove classifiers in setup.py 2013-02-26 23:08:39 +01:00
Honza Kral
b902a92b71 Sorry, accidental commit, Thanks claudep for catching it! 2013-02-24 00:10:12 +01:00
Honza Kral
2b48fcc607 Fixed #18491 -- deleting a proxy doesn't show warning about cascade deletes 2013-02-23 23:20:34 +01:00
Ramiro Morales
f179a5198e Fix filtering during collection of paths in setup.py
Thanks Marek Brzóska for the report.
2013-02-14 20:29:21 -03:00
Pablo Recio
50fd96497b Added 'license' value to the setup.py fixes #19430 2012-12-14 20:22:58 +00:00
Ramiro Morales
2100da9dcd Ensure we ignore __pycache__ PEP 3174 dirs in a few more places. 2012-10-06 18:40:58 -03:00
Carl Meyer
6ed7d40727 Fixed #18115 - added warning about overlaid install.
Setup.py now warns if it detects that Django is being installed over top
of a previous installation that was never removed. This should only
happen when installing with ``python setup.py install``, as pip
automatically uninstalls before installing a new version and
easy_install installs as an egg directory.

Also generally updated the installation doc.
2012-05-21 17:28:58 -06:00
Claude Paroz
23d3459761 Fixed #17965 -- Definitely dropped support for Python 2.5. Thanks jonash for the initial patch and Aymeric Augustin for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 08:24:29 +00:00
James Bennett
2591fb8d4c Bump trunk to 1.4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-23 16:53:23 +00:00