Commit Graph

25 Commits

Author SHA1 Message Date
Benjamin Dauvergne 6fc09e500d debian packaging 2020-04-02 17:05:56 +02:00
Bojan Mihelac 7973d31ac5
Merge pull request #854 from jdufresne/doc-py
Document support for modern Django & Python versions
2018-11-05 09:06:34 +01:00
Jon Dufresne b1278800cb Use modern setuptools in setup.py (#862)
As recommended by Python docs, use setuptools not distutils. See:

https://docs.python.org/3/library/distutils.html

> Most Python users will not want to use this module directly, but
> instead use the cross-version tools maintained by the Python Packaging
> Authority. In particular, setuptools is an enhanced alternative to
> distutils ...

setuptools is necessary for features like python_requires.
2018-11-05 08:58:46 +01:00
Jon Dufresne a07550c85f Document support for modern Django & Python versions 2018-11-04 16:29:38 -08:00
Jon Dufresne c27f8b3147 Pass python_requires argument to setuptools
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-04-12 03:27:21 -07:00
Dan Moore 87afec415b Merge branch 'master' of https://github.com/django-import-export/django-import-export into require-django-1-8 2018-01-27 23:47:59 -05:00
Bojan Mihelac 05983497e4 discourage installation as a zipped eggs, thanks @machakux (#548) 2017-12-11 09:23:34 +01:00
Dan Moore fbafc31481 Require Django at least Django 1.8
This branch contains some changes that simply won't work with <1.8 anymore.
2017-11-24 09:10:07 -05:00
Jon Dufresne 0d3481a2ee Add trove classifiers for all supported Python versions 2017-11-24 04:57:51 -08:00
Manel Clos 4d743fb5ad
Merge pull request #616 from ad-m/patch-2
Add missing classifiers in setup.py
2017-11-16 10:08:17 +01:00
Jon Dufresne 83968d4f3e Add Django as requirement to setup.py
As django is imported by the library and is a hard runtime requirement,
it should be listed as a requirement in setup.py for completeness.
2017-07-08 10:16:40 -07:00
Adam Dobrawy 8c36375da4 Add missing classifiers in setup.py 2017-06-25 11:33:34 +02:00
Dan Moore 68801b8e7d GitHub bmihelac -> django-import-export Account Update
Updating both the CONTRIBUTING documentation as well as the url defined
in setup tools for the package.
2017-02-26 10:37:27 -05:00
Bojan Mihelac 77c0ead3e7 Python 3.3 support 2014-01-30 08:34:32 +01:00
Bojan Mihelac cff5e70a8e Add license and platforms to setup.py 2014-01-02 09:52:38 +01:00
Bojan Mihelac 87bd6cd3e4 Update setup.py - remove Django from install_requires 2013-11-28 19:09:53 +01:00
Bojan Mihelac d33e8f933b FIX: #16 - Installing via pip does not bundle admin templates
Thanks to @jsk for report.
2013-02-18 10:26:49 +01:00
Bojan Mihelac a56a3aa949 Update setup.py
add classifiers
2013-01-16 10:44:33 +01:00
titusz 812362f57a added admin templates to setup 2012-12-22 17:58:42 +01:00
Bojan Mihelac 1bbab6d3aa Add install_requires to setup.py 2012-12-17 12:27:30 +01:00
Bojan Mihelac d4f0f13dd4 Add description 2012-12-17 12:24:05 +01:00
Bojan Mihelac 6b80ea227b Remove long_description from setup.py 2012-12-17 12:23:06 +01:00
Bojan Mihelac 0bb8dd210d FIX setup.py 2012-11-19 08:33:17 +01:00
Bojan Mihelac a0ae56e4e3 Add admin import action and lot of other work 2012-11-16 08:51:32 +01:00
Bojan Mihelac 704c9a6a66 Initial import 2012-11-15 16:30:09 +01:00