boltons/setup.py

77 lines
2.4 KiB
Python
Raw Normal View History

2015-04-11 17:49:54 +00:00
"""Functionality that should be in the standard library. Like
builtins, but Boltons.
2013-03-01 07:47:23 +00:00
2015-04-11 17:49:54 +00:00
Otherwise known as, "everyone's util.py," but cleaned up and
tested.
2013-03-01 07:47:23 +00:00
2021-05-17 01:19:43 +00:00
Contains over 250 BSD-licensed utility types and functions that can be
2015-04-11 17:49:54 +00:00
used as a package or independently. `Extensively documented on Read
the Docs <http://boltons.readthedocs.org>`_.
2013-03-01 07:47:23 +00:00
"""
from setuptools import setup
__author__ = 'Mahmoud Hashemi'
2024-11-02 03:36:51 +00:00
__version__ = '24.1.0'
2018-03-02 08:11:24 +00:00
__contact__ = 'mahmoud@hatnote.com'
2013-03-01 07:47:23 +00:00
__url__ = 'https://github.com/mahmoud/boltons'
__license__ = 'BSD'
setup(name='boltons',
version=__version__,
description="When they're not builtins, they're boltons.",
long_description=__doc__,
author=__author__,
author_email=__contact__,
url=__url__,
packages=['boltons'],
include_package_data=True,
zip_safe=False,
license=__license__,
platforms='any',
python_requires='>=3.7',
2013-03-01 07:47:23 +00:00
classifiers=[
# See: https://pypi.python.org/pypi?:action=list_classifiers
'Topic :: Utilities',
2013-03-01 07:47:23 +00:00
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
2013-03-01 07:47:23 +00:00
'Topic :: Software Development :: Libraries',
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
# List of python versions and their support status:
# https://en.wikipedia.org/wiki/CPython#Version_history
'Programming Language :: Python :: 3',
2019-02-11 08:02:17 +00:00
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
2024-01-15 07:50:50 +00:00
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
2016-03-02 10:44:23 +00:00
'Programming Language :: Python :: Implementation :: PyPy', ]
2013-03-01 07:47:23 +00:00
)
"""
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"
2023-02-20 06:41:42 +00:00
* rm -rf dist/*
* python setup.py sdist bdist_wheel
* twine upload dist/*
* bump docs/conf.py version
* git commit
* git tag -a x.y.z -m "brief summary"
* write CHANGELOG
* git commit
* bump setup.py version onto n+1 dev
* git commit
* git push
"""