Commit Graph

54 Commits

Author SHA1 Message Date
Steven Loria
cf925caa48 Render markdown readme on PyPI (#6004)
* Render markdown readme on PyPI

PyPI now supports GitHub-flavored Markdown descriptions
(https://blog.thea.codes/github-flavored-markdown-on-pypi/),
so there's no need to convert the README to rst with pypandoc
any more.

* Remove readme checking

Checking markdown descriptions is not necessary.
See https://github.com/pypa/readme_renderer#markdown

* Upgrade twine
2018-06-03 19:21:04 +01:00
Daniel Hahler
2854679f56 Upgrade isort (#5817)
* Fix isort

* runtests: add --diff to ISORT_ARGS

* requirements-codestyle: bump isort to 4.3.3

* isort: move config to setup.cfg
2018-02-14 20:12:14 +00:00
Jon Dufresne
b2ec681d8d Pass python_requires argument to setuptools (#5739)
Helps pip decide what version of the library to install.

https://packaging.python.org/tutorials/distributing-packages/#python-requires

> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-01-11 08:51:34 +01:00
Carlton Gibson
a81e60ff39
Version 3.7.4 Release (#5650)
* Update version for 3.7.4 Release

* Add release notes to 01587b9eb1

* Django 2.0 is now final.

* Add trove classifer for Django 2.0

* Finalise release notes for v3.7.4

* Set release date: December 20, 2017

* Update Transifex

* Add release note for #5691

* Move Issue links to bottom
2017-12-20 15:28:31 +01:00
Ryan P Kilby
fc6b192b70 Fix readme, add to CI (#5625)
* Add readme build to CI

* Fix pandoc import in setup.py

* Replace sponsor HTML with markdown

This loses the image centering, but can be converted to RST.

* Fix README RST conversion

- Links do not render correctly inside italics
- Add hr between image caption and section, fixes markup on older
  versions of pandoc.
2017-11-27 11:32:17 +01:00
Ryan P Kilby
abef84fb60 Fix packaging (#5624)
* Packaging should use manifest

* Add schema.js template to MANIFEST
2017-11-27 11:28:25 +01:00
Jon Dufresne
64cfa3b64d Add trove classifier for Python 3.6 support.
Helps users know, at a glance, if the library is compatible with a
project.
2017-11-03 16:03:23 -07:00
Carlton Gibson
eb3d078a2c Version 3.7: Announcement etc (#5437)
* Set version number for 3.7.0 release

* Rename release notes section

Moved issue links to top for easier access.
(Can move back later)

* Add release note for #5273

* Add release note for #5440

* Add release note for #5265

Strict JSON handling

* Add release note for #5250

* Add release notes for #5170

* Add release notes for #5443

* Add release notes for #5448

* Add release notes for #5452

* Add release not for #5342

* Add release notes for 5454

* Add release notes for #5058 & #5457

Remove Django 1.8 & 1.9 from README and setup.py

* Release notes for merged 3.6.5 milestone tickets

Tickets migrated to 3.7.0 milestone.

* Add release notes for #5469

* Add release notes from AM 2ndOct

* Add final changes to the release notes.

* Add date and milestone link

Move issue links back to bottom.

* Update translations from transifex

* Begin releae anouncement

* Add release note for #5482

* 3.7 release announcement & related docs.
2017-10-06 13:18:31 +02:00
Sergey Smirnov
34f88dc3f8 Add Django 1.11 into *.md and setup.py 2017-04-17 19:42:50 +02:00
Michael Barr
388cf7622c Adds Django/Python Trove Classifiers (#4662) 2016-11-09 12:59:11 +00:00
Tom Christie
856f086ce3 Remove broken wheel check in setup.py [ci skip] 2016-10-21 14:42:42 +01:00
cobaltchang
b04bd8618c Fix the error without specified encoding when compiling (#4246)
Fix setup.py error on some platforms
2016-07-05 15:36:52 +01:00
Xavier Ordoquy
f48ccad581 Fail hard during publish if pandoc isn't available. 2016-02-12 13:43:18 +01:00
Xavier Ordoquy
72ecd32c6b Use pandoc to generate a nice PyPI information page. 2016-02-12 13:15:20 +01:00
Tom Christie
086115c7b8 Clean up after publishing to PyPI 2015-08-25 13:32:35 +01:00
José Padilla
7351a3f6ca Sort imports with isort 2015-06-25 16:55:51 -04:00
José Padilla
83c9136c90 Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
Xavier Ordoquy
9dd97a0ee5 Fixed a typo. 2015-02-06 10:23:58 +01:00
Xavier Ordoquy
75ff754517 Use twine to upload to pypi. 2015-02-06 10:12:57 +01:00
Xavier Ordoquy
60f5b5d9f3 Make Django REST Framework as zip unsafe. 2015-01-07 19:19:33 +01:00
Tom Christie
6909e92d22 Drop 'setup.py test'. Just use 'runtests.py'. 2014-12-18 10:58:08 +00:00
Tom Christie
725bde29c7 Check for wheel install before allowing setup.py publish. 2014-12-18 10:40:40 +00:00
Tom Christie
b8af83493f Wheel check was breaking tests. Removed it. 2014-12-17 21:33:27 +00:00
Tom Christie
39766bcc0e Enforce wheel check before allowing 'setup.pu publish' 2014-12-17 21:18:06 +00:00
Andreas Pelme
971578ca34 Support for running the test suite with py.test
* Get rid of runtests.py
 * Moved test code  from rest_framework/tests and rest_framework/runtests to tests
 * Invoke py.test from setup.py
 * Invoke py.test from Travis
 * Invoke py.test from tox
 * Changed setUpClass to be just plain setUp in test_permissions.py
 * Updated contribution guideline to show how to invoke py.test
2014-03-02 12:40:30 +01:00
Tom Christie
05c396cfa1 Use www.django-rest-framework.org for docs instead of django-rest-framework.org due to issues with naked domains 2014-01-08 15:49:19 +00:00
Tom Christie
e155534f4f Merge pull request #1270 from irrelative/master
fix setup.py with new __init__.py boilerplate
2013-12-06 02:09:10 -08:00
Justin Davis
79596dc613 fix setup.py with new __init__.py boilerplate 2013-12-05 13:17:23 -08:00
George Hickman
4807e00bff Set up wheel distribution support 2013-11-15 15:49:53 +00:00
Tom Christie
b05eba70bd Drop invalid download_url from pypi setup 2013-07-05 10:38:21 +01:00
Tom Christie
84f059758e Drop currently unused unicode_literals in setup. 2013-02-14 10:18:18 +00:00
Tom Christie
095c11891b Tweak PyPI classifiers. 2013-02-14 10:17:18 +00:00
Tom Christie
60b1591efa Add note about mailing list. 2013-02-07 21:08:13 +00:00
Xavier Ordoquy
bbc1146320 Python 3 readiness 2013-01-03 11:41:37 +01:00
Xavier Ordoquy
acc97a8a07 Don't require six 2013-01-03 11:41:26 +01:00
Xavier Ordoquy
364299b0aa py3 compatible setup. 2012-12-02 01:23:03 +01:00
Xavier Ordoquy
b3698acb6c First passing test under p3k \o/ 2012-11-22 00:20:49 +01:00
Tom Christie
166025c0fc Package and doc tweaks 2012-10-30 14:48:48 +00:00
Tom Christie
d15e31b28d Drop coverage in travis tests 2012-10-11 13:05:01 +01:00
Tom Christie
4b691c4027 Change package name: djangorestframework -> rest_framework 2012-09-20 13:06:27 +01:00
Tom Christie
a5213d4023 Drop urlobject2 2012-09-14 13:24:13 +01:00
Tom Christie
6207791af1 Attempt to stop banging head against brick wall. 2012-02-07 10:14:34 +00:00
Tom Christie
8c1e6beb85 Distutils, you are a harsh master. 2012-02-07 09:55:01 +00:00
Tom Christie
304c995983 Fix distutils errors 2012-02-07 09:47:15 +00:00
Tom Christie
15fc26f50b Fix up packaging and staticfiles changes. Fixes #155. Fixes #153. Fixes #150. 2012-02-07 08:58:15 +00:00
Jamie Matthews
18535c7a38 Preserve existing query params in PaginatorMixin
Previously, generation of next/previous links would discard any existing
query parameters. This commit introduces a dependency on URLObject, which
is used to intelligently parse and modify URLs to ensure existing params
are preserved.

Addresses issues #107
2012-01-05 14:07:31 +00:00
Tom Christie
b50492853f pull in -dev as 0.2.0 2011-06-02 12:58:10 +01:00
Tom Christie
7ee9adbe5c point to django-rest-framework.org as the homepage, point to pypi for downloads 2011-06-02 12:52:23 +01:00
Tom Christie
c4d800ef32 proper manifest. setup groks version from __init__ 2011-06-02 12:17:21 +01:00
Tom Christie
3470134373 Add utils to setup.py - see if the examples tests now pass 2011-05-16 16:00:00 +01:00