Navigation Menu

Skip to content

Commit

Permalink
Move into src subdir to prevent import path overload.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Oct 20, 2020
1 parent 0754fa6 commit d03a177
Show file tree
Hide file tree
Showing 99 changed files with 27 additions and 25 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -12,9 +12,10 @@
build/
dist/
*.egg/
src/cities_light/version.py

# Ignore the downloaded data.
cities_light/data/
src/cities_light/data/

# vscode & codespaces
.vscode/*
Expand Down
49 changes: 25 additions & 24 deletions setup.py
Expand Up @@ -12,38 +12,39 @@ def read(fname):


setup(
name='django-cities-light',
name="django-cities-light",
use_scm_version={
"version_scheme": "post-release",
"write_to": "cities_light/version.py",
"write_to": "src/cities_light/version.py",
},
setup_requires=["setuptools_scm"],
description='Simple alternative to django-cities',
author='James Pic,Dominick Rivard,Alexey Evseev',
author_email='jamespic@gmail.com, dominick.rivard@gmail.com, myhappydo@gmail.com',
url='https://github.com/yourlabs/django-cities-light',
packages=find_packages(),
description="Simple alternative to django-cities",
author="James Pic,Dominick Rivard,Alexey Evseev",
author_email="jamespic@gmail.com, dominick.rivard@gmail.com, myhappydo@gmail.com",
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',
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'
"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',
"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",
],
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d03a177

Please sign in to comment.