Skip to content

Commit

Permalink
chore: use setup.cfg (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jun 20, 2021
1 parent 4ea2051 commit 0ba939a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 58 deletions.
61 changes: 61 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[metadata]
name = nox
version = 2021.6.12
description = Flexible test automation.
long_description = file: README.rst
long_description_content_type = text/x-rst
url = https://nox.thea.codes
author = Alethea Katherine Flowers
author_email = me@thea.codes
license = Apache-2.0
license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development :: Testing
keywords = testing automation tox
project_urls =
Documentation = https://nox.thea.codes
Source Code = https://github.com/theacodes/nox
Bug Tracker = https://github.com/theacodes/nox/issues

[options]
packages =
nox
install_requires =
argcomplete>=1.9.4,<2.0
colorlog>=2.6.1,<7.0.0
packaging>=20.9
py>=1.4.0,<2.0.0
typing_extensions>=3.7.4;python_version < '3.8'
virtualenv>=14.0.0
importlib_metadata;python_version < '3.8'
python_requires = >=3.6
include_package_data = True
zip_safe = False

[options.entry_points]
console_scripts =
nox = nox.__main__:main
tox-to-nox = nox.tox_to_nox:main [tox_to_nox]

[options.extras_require]
tox_to_nox =
jinja2
tox

[options.package_data]
nox = py.typed
59 changes: 1 addition & 58 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,63 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from codecs import open

from setuptools import setup

long_description = open("README.rst", "r", encoding="utf-8").read()

setup(
name="nox",
version="2021.6.12",
description="Flexible test automation.",
long_description=long_description,
url="https://nox.thea.codes",
author="Alethea Katherine Flowers",
author_email="me@thea.codes",
license="Apache Software License",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Testing",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
],
keywords="testing automation tox",
packages=["nox"],
package_data={"nox": ["py.typed"]},
include_package_data=True,
zip_safe=False,
install_requires=[
"argcomplete>=1.9.4,<2.0",
"colorlog>=2.6.1,<7.0.0",
"packaging>=20.9",
"py>=1.4.0,<2.0.0",
"typing_extensions>=3.7.4; python_version < '3.8'",
"virtualenv>=14.0.0",
"importlib_metadata; python_version < '3.8'",
],
extras_require={"tox_to_nox": ["jinja2", "tox"]},
entry_points={
"console_scripts": [
"nox=nox.__main__:main",
"tox-to-nox=nox.tox_to_nox:main [tox_to_nox]",
]
},
project_urls={
"Documentation": "https://nox.thea.codes",
"Source Code": "https://github.com/theacodes/nox",
"Bug Tracker": "https://github.com/theacodes/nox/issues",
},
python_requires=">=3.6",
)
setup()

0 comments on commit 0ba939a

Please sign in to comment.