apply setup-py-upgrade
This commit is contained in:
parent
8fceca84f4
commit
25aca8f56b
38
setup.cfg
38
setup.cfg
|
@ -1,2 +1,38 @@
|
|||
[metadata]
|
||||
name = incremental
|
||||
maintainer = Amber Brown
|
||||
maintainer_email = hawkowl@twistedmatrix.com
|
||||
url = https://github.com/twisted/incremental
|
||||
classifiers =
|
||||
Intended Audience :: Developers
|
||||
License :: OSI Approved :: MIT License
|
||||
Programming Language :: Python :: 2
|
||||
Programming Language :: Python :: 2.7
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.4
|
||||
Programming Language :: Python :: 3.5
|
||||
Programming Language :: Python :: 3.6
|
||||
license = MIT
|
||||
description = "A small library that versions your Python projects."
|
||||
long_description = file: README.rst
|
||||
|
||||
[options]
|
||||
packages = find:
|
||||
package_dir = =src
|
||||
zip_safe = False
|
||||
|
||||
[options.packages.find]
|
||||
where = src
|
||||
exclude = exampleproj
|
||||
|
||||
[options.entry_points]
|
||||
distutils.setup_keywords =
|
||||
use_incremental = incremental:_get_version
|
||||
|
||||
[options.extras_require]
|
||||
scripts =
|
||||
click>=6.0
|
||||
twisted>=16.4.0
|
||||
|
||||
[wheel]
|
||||
universal=1
|
||||
universal = 1
|
||||
|
|
31
setup.py
31
setup.py
|
@ -5,7 +5,7 @@ from __future__ import absolute_import, division, print_function
|
|||
import os
|
||||
import sys
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import setup
|
||||
|
||||
base_dir = os.path.dirname(__file__)
|
||||
src_dir = os.path.join(base_dir, "src")
|
||||
|
@ -15,31 +15,4 @@ sys.path.insert(0, src_dir)
|
|||
|
||||
import incremental
|
||||
|
||||
setup(
|
||||
name="incremental",
|
||||
version=incremental.__version__.base(),
|
||||
maintainer="Amber Brown",
|
||||
maintainer_email="hawkowl@twistedmatrix.com",
|
||||
url="https://github.com/twisted/incremental",
|
||||
classifiers=[
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 2",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
],
|
||||
packages=find_packages("src", exclude=("exampleproj",)),
|
||||
package_dir={"": "src"},
|
||||
extras_require={"scripts": ["click>=6.0", "twisted>=16.4.0"]},
|
||||
license="MIT",
|
||||
zip_safe=False,
|
||||
description="A small library that versions your Python projects.",
|
||||
long_description=open("README.rst").read(),
|
||||
entry_points="""
|
||||
[distutils.setup_keywords]
|
||||
use_incremental = incremental:_get_version
|
||||
""",
|
||||
)
|
||||
setup(version=incremental.__version__.base())
|
||||
|
|
Loading…
Reference in New Issue