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'
|
2023-02-20 06:41:42 +00:00
|
|
|
__version__ = '23.0.1dev'
|
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',
|
|
|
|
classifiers=[
|
2017-01-16 00:09:25 +00:00
|
|
|
# See: https://pypi.python.org/pypi?:action=list_classifiers
|
2015-11-08 19:30:19 +00:00
|
|
|
'Topic :: Utilities',
|
2013-03-01 07:47:23 +00:00
|
|
|
'Intended Audience :: Developers',
|
2017-01-16 00:09:25 +00:00
|
|
|
'License :: OSI Approved :: BSD License',
|
2013-03-01 07:47:23 +00:00
|
|
|
'Topic :: Software Development :: Libraries',
|
2015-11-08 19:30:19 +00:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2017-01-16 00:09:25 +00:00
|
|
|
'Operating System :: OS Independent',
|
|
|
|
# List of python versions and their support status:
|
|
|
|
# https://en.wikipedia.org/wiki/CPython#Version_history
|
|
|
|
'Programming Language :: Python :: 2',
|
2015-04-10 21:52:00 +00:00
|
|
|
'Programming Language :: Python :: 2.7',
|
2017-01-16 00:09:25 +00:00
|
|
|
'Programming Language :: Python :: 3',
|
2019-02-11 08:02:17 +00:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2020-11-03 02:12:24 +00:00
|
|
|
'Programming Language :: Python :: 3.8',
|
|
|
|
'Programming Language :: Python :: 3.9',
|
2023-02-20 05:13:43 +00:00
|
|
|
'Programming Language :: Python :: 3.10',
|
|
|
|
'Programming Language :: Python :: 3.11',
|
2017-01-16 00:09:25 +00:00
|
|
|
'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
|
|
|
)
|
2016-11-06 07:31:06 +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/*
|
2016-11-06 07:31:06 +00:00
|
|
|
* 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
|
|
|
|
|
|
|
|
"""
|