Skip to content

Commit

Permalink
Merge 494efb5 into 3bca2d4
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Feb 10, 2022
2 parents 3bca2d4 + 494efb5 commit 828d175
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 73 deletions.
71 changes: 69 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,79 @@
[build-system]
requires = [
"setuptools>=42",
"setuptools @ git+https://github.com/abravalheri/setuptools@support-pyproject",
"wheel",
"setuptools_scm[toml]>=3.4.3"
]
build-backend = "setuptools.build_meta"


[project]
name = "plumbum"
description = "Plumbum: shell combinators library"
readme = "README.rst"
authors = [{ name="Tomer Filiba", email="tomerfiliba@gmail.com" }]
license = { file="LICENSE" }
requires-python = ">=3.6"
dynamic = ["version"]
dependencies = [
"pywin32; platform_system=='Windows' and platform_python_implementation!='PyPy'",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"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",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Systems Administration",
]
keywords = [
"path",
"local",
"remote",
"ssh",
"shell",
"pipe",
"popen",
"process",
"execution",
"color",
"cli",
]

[project.optional-dependencies]
dev = [
"paramiko",
"psutil",
"pytest>=6.0",
"pytest-cov",
"pytest-mock",
"pytest-timeout",
]
docs = [
"sphinx>=4.0.0",
"sphinx-rtd-theme>=1.0.0",
]
ssh = [
"paramiko",
]

[tool.setuptools]
platforms = ["POSIX", "Windows"]

[tool.setuptools.packages.find]
include = ["plumbum"]

[tool.setuptools.package-data]
"plumbum.cli" = ["i18n/*/LC_MESSAGES/*.mo"]


[tool.setuptools_scm]
write_to = "plumbum/version.py"

Expand All @@ -16,7 +84,6 @@ python_version = "3.6"
warn_unused_configs = true
warn_unused_ignores = true


[[tool.mypy.overrides]]
module = ["IPython.*", "pywintypes.*", "win32con.*", "win32file.*", "PIL.*", "plumbum.cmd.*", "ipywidgets.*", "traitlets.*", "plumbum.version"]
ignore_missing_imports = true
Expand Down
66 changes: 0 additions & 66 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,69 +1,3 @@
[metadata]
name = plumbum
description = Plumbum: shell combinators library
long_description = file: README.rst
long_description_content_type = text/x-rst
url = https://plumbum.readthedocs.io
author = Tomer Filiba
author_email = tomerfiliba@gmail.com
license = MIT
license_file = LICENSE
platforms = POSIX, Windows
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: MIT License
Operating System :: Microsoft :: Windows
Operating System :: POSIX
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
Programming Language :: Python :: 3.10
Topic :: Software Development :: Build Tools
Topic :: System :: Systems Administration
keywords =
path,
local,
remote,
ssh,
shell,
pipe,
popen,
process,
execution,
color,
cli
provides = plumbum

[options]
packages = find:
install_requires =
pywin32;platform_system=='Windows' and platform_python_implementation!="PyPy"
python_requires = >=3.6

[options.packages.find]
exclude =
tests

[options.extras_require]
dev =
paramiko
psutil
pytest>=6.0
pytest-cov
pytest-mock
pytest-timeout
docs =
Sphinx>=4.0.0
sphinx-rtd-theme>=1.0.0
ssh =
paramiko

[options.package_data]
plumbum.cli = i18n/*/LC_MESSAGES/*.mo

[coverage:run]
branch = True
relative_files = True
Expand Down
5 changes: 0 additions & 5 deletions setup.py

This file was deleted.

0 comments on commit 828d175

Please sign in to comment.