Skip to content

Commit 1ee2113

Browse files
committed
bump version number
1 parent e6ea972 commit 1ee2113

File tree

4 files changed

+93
-10
lines changed

4 files changed

+93
-10
lines changed

CHANGES.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
Changes
22
-------
33

4-
0.1.5 (2018-03-08)
4+
1.0.0 (2021-12-21)
55
~~~~~~~~~~~~~~~~~~
66

7-
* creation of the CHANGES.rst file;
7+
* Added Django 3+ support.
8+
* Dropped Python 2.7 support.
9+
* Dropped Django 1.10 / 1.11 support.

PYPIREADME.rst

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
django-airports
2+
===============
3+
4+
.. image:: https://img.shields.io/pypi/v/django-airports.svg
5+
:target: https://pypi.python.org/pypi/django-airports/
6+
7+
.. image:: https://img.shields.io/pypi/dm/django-airports.svg
8+
:target: https://pypi.python.org/pypi/django-airports/
9+
10+
.. image:: https://img.shields.io/github/license/bashu/django-airports.svg
11+
:target: https://pypi.python.org/pypi/django-airports/
12+
13+
.. image:: https://app.travis-ci.com/bashu/django-airports.svg?branch=develop
14+
:target: https://app.travis-ci.com/bashu/django-airports
15+
16+
Provides airports' related models and data (from `OurAirports <http://ourairports.org/>`_) that can be used in django projects, inspired by `django-cities <https://github.com/coderholic/django-cities>`_
17+
18+
Authored by `Basil Shubin <https://github.com/bashu>`_, and some great
19+
`contributors <https://github.com/bashu/django-airports/contributors>`_.
20+
21+
.. image:: https://raw.githubusercontent.com/bashu/django-airports/develop/logo.png
22+
:target: https://raw.githubusercontent.com/bashu/django-airports/develop/logo.png
23+
:align: center
24+
:width: 600px
25+
26+
Installation
27+
------------
28+
29+
First install the module, preferably in a virtual environment. It can be installed from PyPI:
30+
31+
.. code-block:: shell
32+
33+
pip install django-airports
34+
35+
Requirements
36+
~~~~~~~~~~~~
37+
38+
You must have *django-cities* installed and configured, see the
39+
`django-cities <https://github.com/coderholic/django-cities>`_ documentation for details and setup instructions.
40+
41+
Setup
42+
-----
43+
44+
First make sure the database support spatial queries, see the `GeoDjango documentation <https://docs.djangoproject.com/en/dev/ref/contrib/gis/>`_ for details and setup instructions.
45+
46+
You'll need to add ``airports`` to ``INSTALLED_APPS`` in your projects ``settings.py`` file:
47+
48+
.. code-block:: python
49+
50+
INSTALLED_APPS += [
51+
'airports',
52+
]
53+
54+
Then run ``./manage.py migrate`` to create the required database tables.
55+
56+
Import data
57+
-----------
58+
59+
After you have configured all settings, run
60+
61+
.. code-block:: shell
62+
63+
python manage.py airports
64+
65+
The ``airports`` manage command has options, see ``airports --help`` output.
66+
67+
Second run will update the DB with the latest data from the source csv file.
68+
69+
Contributing
70+
------------
71+
72+
If you like this module, forked it, or would like to improve it, please let us know!
73+
Pull requests are welcome too. :-)
74+
75+
License
76+
-------
77+
78+
``django-airports`` is released under the MIT license.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
# built documents.
5353
#
5454
# The short X.Y version.
55-
version = "0.2"
55+
version = "1.0"
5656
# The full version, including alpha/beta/rc tags.
57-
release = "0.2"
57+
release = "1.0.0"
5858

5959
# The language for content autogenerated by Sphinx. Refer to documentation
6060
# for a list of supported languages.

setup.cfg

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
name = django-airports
3-
version = 0.2.0
3+
version = 1.0.0
44
description = "It's like django-cities, but django-airports"
5-
long_description = file: README.rst, CHANGES.rst
5+
long_description = file: PYPIREADME.rst, CHANGES.rst
66
long_description_content_type = text/x-rst
77
author = Basil Shubin
88
author_email = [email protected]
@@ -17,12 +17,15 @@ classifiers =
1717
Operating System :: OS Independent
1818
Programming Language :: Python
1919
Programming Language :: Python :: 3 :: Only
20-
Programming Language :: Python :: 3.4
21-
Programming Language :: Python :: 3.5
2220
Programming Language :: Python :: 3.6
21+
Programming Language :: Python :: 3.7
22+
Programming Language :: Python :: 3.8
23+
Programming Language :: Python :: 3.9
2324
Framework :: Django
24-
Framework :: Django :: 2.0
25-
Framework :: Django :: 2.1
25+
Framework :: Django :: 2.2
26+
Framework :: Django :: 3.0
27+
Framework :: Django :: 3.1
28+
Framework :: Django :: 3.2
2629
Topic :: Internet :: WWW/HTTP
2730
Topic :: Internet :: WWW/HTTP :: Dynamic Content
2831
Topic :: Software Development :: Libraries :: Python Modules

0 commit comments

Comments
 (0)