Skip to content

Commit 8922dd8

Browse files
authored
Remove setup.py (#72)
1 parent df37028 commit 8922dd8

File tree

6 files changed

+5
-26
lines changed

6 files changed

+5
-26
lines changed

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
include README.rst LICENSE CHANGES setup.py
21
prune ext*
32
prune clib*
4-
recursive-include lib *

_doc/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In my experience it is best to use two ``virtualenv`` environments, one with the
2727
latest Python from the 2.7 series, the other with 3.5 or 3.6. In the
2828
site-packages directory of each virtualenv make a soft link to the ruyaml
2929
directory of your (cloned and checked out) copy of the repository. Do not under
30-
any circumstances run ``pip install -e .`` or ``python setup.py -e .`` it will
30+
any circumstances run ``pip install -e .`` it will
3131
not work (at least not until these commands are fixed to support packages with
3232
namespaces).
3333

@@ -38,7 +38,7 @@ pass without warning/error, you can create your pull-request.
3838
Flake
3939
+++++
4040

41-
The `Flake8 <https://flake8.pycqa.org>`_ configuration is part of ``setup.py``::
41+
The `Flake8 <https://flake8.pycqa.org>`_ configuration is part of ``setup.cfg``::
4242

4343
[flake8]
4444
show-source = True

_doc/contributing.ryd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ In my experience it is best to use two ``virtualenv`` environments, one with the
5656
latest Python from the 2.7 series, the other with 3.5 or 3.6. In the
5757
site-packages directory of each virtualenv make a soft link to the ruamel
5858
directory of your (cloned and checked out) copy of the repository. Do not under
59-
any circumstances run ``pip install -e .`` or ``python setup.py -e .`` it will
59+
any circumstances run ``pip install -e .`` it will
6060
not work (at least not until these commands are fixed to support packages with
6161
namespaces).
6262

@@ -114,7 +114,6 @@ automatically be reverted, even assuming your PR is accepted as is.
114114
Consider the following files **read-only** (if you think changes need to made these,
115115
contact me)::
116116

117-
setup.py
118117
tox.ini
119118
LICENSE
120119
_ryd/conf.py

setup.cfg

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
[aliases]
2-
dists = clean --all sdist bdist_wheel
3-
4-
[bdist_wheel]
5-
universal = 1
6-
71
[metadata]
82
name = ruyaml
93
url = https://github.com/pycontribs/ruyaml
@@ -64,11 +58,6 @@ install_requires =
6458
distro>=1.3.0
6559
setuptools>=39.0
6660

67-
# These are required during `setup.py` run:
68-
setup_requires =
69-
setuptools_scm >= 1.15.0
70-
setuptools_scm_git_archive >= 1.0
71-
7261
[options.extras_require]
7362
docs =
7463
Sphinx

setup.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ skip_missing_interpreters = False
1313

1414
[testenv]
1515
description = Unittest using {basepython}
16-
install_command = pip install --disable-pip-version-check {opts} {packages}
1716
commands =
1817
/bin/bash -c 'pytest _test/test_*.py'
1918
deps =
@@ -25,8 +24,8 @@ allowlist_externals =
2524
[testenv:docs]
2625
description = Build docs
2726
basepython = python3.8
28-
extras =
29-
docs
27+
deps =
28+
--editable .[docs]
3029
commands =
3130
make singlehtml
3231
changedir = {toxinidir}/_doc

0 commit comments

Comments
 (0)