forked from yourlabs/django-cities-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (46 loc) · 1.67 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from setuptools import setup, find_packages
import os
import os.path
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="django-cities-light",
use_scm_version={
"version_scheme": "post-release",
"write_to": "src/cities_light/version.py",
},
setup_requires=["setuptools_scm"],
description="Simple alternative to django-cities",
author="James Pic,Dominick Rivard,Alexey Evseev",
url="https://github.com/yourlabs/django-cities-light",
package_dir={"": "src"},
packages=find_packages(where="src"),
include_package_data=True,
zip_safe=False,
long_description=read("README.rst"),
license="MIT",
keywords="django cities countries postal codes",
install_requires=[
"pytz",
"unidecode>=0.04.13",
"django-autoslug>=1.9.8",
"progressbar2>=3.51.4",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)