<commit_before>#!/usr/bin/env python
import os
import re

from setuptools import find_packages, setup


def get_version(filename):
    with open(filename, "r") as fp:
        contents = fp.read()
    return re.search(r"__version__ = ['\"]([^'\"]+)['\"]", contents).group(1)


version = get_version(os.path.join("django_settings_file", "__init__.py"))


with open("README.rst", "r") as readme_file:
    readme = readme_file.read()

with open("HISTORY.rst", "r") as history_file:
    history = history_file.read()

setup(
    name="django-settings-file",
    version=version,
    description=(
        "Let Django use settings from an arbitrary Python file instead of an "
        + "importable module"
    ),
    long_description=readme + "\n\n" + history,
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/adamchainz/django-settings-file",
    packages=find_packages(exclude=["tests", "tests.*"]),
    include_package_data=True,
    install_requires=["Django>=1.11"],
    python_requires=">=3.5",
    license="ISC",
    zip_safe=False,
    keywords="Django",
    classifiers=[
        "Development Status :: 5 - Production/Stable",<commit_msg>Add PyPI changelog link (#111)<commit_after>#!/usr/bin/env python
import os
import re

from setuptools import find_packages, setup


def get_version(filename):
    with open(filename, "r") as fp:
        contents = fp.read()
    return re.search(r"__version__ = ['\"]([^'\"]+)['\"]", contents).group(1)


version = get_version(os.path.join("django_settings_file", "__init__.py"))


with open("README.rst", "r") as readme_file:
    readme = readme_file.read()

with open("HISTORY.rst", "r") as history_file:
    history = history_file.read()

setup(
    name="django-settings-file",
    version=version,
    description=(
        "Let Django use settings from an arbitrary Python file instead of an "
        + "importable module"
    ),
    long_description=readme + "\n\n" + history,
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/adamchainz/django-settings-file",
    project_urls={
        "Changelog": (
            "https://github.com/adamchainz/django-settings-file"
            + "/blob/master/HISTORY.rst"
        )
    },
    packages=find_packages(exclude=["tests", "tests.*"]),
    include_package_data=True,
    install_requires=["Django>=1.11"],
    python_requires=">=3.5",
    license="ISC",
    zip_safe=False,
    keywords="Django",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
{'fraction_non_alphanumeric': 0.16296590007930215, 'fraction_numerical': 0.0067406819984139575, 'mean_word_length': 3.537769784172662, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '29388', 'n_tokens_mistral': 858, 'n_tokens_neox': 816, 'n_words': 161}