Codebase list hyperlink / 1e0a1c67-a0e8-41b4-955e-3c8e56f4fc10/upstream setup.py
1e0a1c67-a0e8-41b4-955e-3c8e56f4fc10/upstream

Tree @1e0a1c67-a0e8-41b4-955e-3c8e56f4fc10/upstream (Download .tar.gz)

setup.py @1e0a1c67-a0e8-41b4-955e-3c8e56f4fc10/upstreamraw · history · blame

"""The humble, but powerful, URL runs everything around us. Chances
are you've used several just to read this text.

Hyperlink is a featureful, pure-Python implementation of the URL, with
an emphasis on correctness. MIT licensed.

See the docs at http://hyperlink.readthedocs.io.
"""

from setuptools import find_packages, setup


__author__ = "Mahmoud Hashemi and Glyph Lefkowitz"
__version__ = "21.0.1dev"
__contact__ = "mahmoud@hatnote.com"
__url__ = "https://github.com/python-hyper/hyperlink"
__license__ = "MIT"


setup(
    name="hyperlink",
    version=__version__,
    description="A featureful, immutable, and correct URL for Python.",
    long_description=__doc__,
    author=__author__,
    author_email=__contact__,
    url=__url__,
    packages=find_packages(where="src"),
    package_dir={"": "src"},
    package_data=dict(hyperlink=["py.typed", "idna-tables-properties.csv.gz"]),
    zip_safe=False,
    license=__license__,
    platforms="any",
    install_requires=["idna>=2.5", 'typing ; python_version<"3.5"'],
    python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
    classifiers=[
        "Topic :: Utilities",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Libraries",
        "Development Status :: 5 - Production/Stable",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: Implementation :: PyPy",
        "License :: OSI Approved :: MIT License",
    ],
)

"""
A brief checklist for release:

* tox
* git commit (if applicable)
* Bump setup.py version off of -dev
* git commit -a -m "bump version for x.y.z release"
* python setup.py sdist bdist_wheel upload
* bump docs/conf.py version
* git commit
* git tag -a vx.y.z -m "brief summary"
* write CHANGELOG
* git commit
* bump setup.py version onto n+1 dev
* git commit
* git push

"""