Skip to content

Commit

Permalink
Clean up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Nov 24, 2023
1 parent ac16733 commit 68cdcff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4716,7 +4716,7 @@ Switches the [`breakpoint` built-in](https://www.python.org/dev/peps/pep-0553/)

Both functions behave identically to [`setuptools.find_packages`](https://setuptools.pypa.io/en/latest/userguide/quickstart.html#package-discovery), except that they find Coconut packages rather than Python packages. `find_and_compile_packages` additionally compiles any Coconut packages that it finds in-place.

Note that if you want to use either of these functions in your `setup.py`, you'll need to include `coconut` as a [build-time dependency in your `pyproject.toml`](https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#build-time-dependencies).
Note that if you want to use either of these functions in your `setup.py`, you'll need to include `coconut` as a [build-time dependency in your `pyproject.toml`](https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#build-time-dependencies). If you want `setuptools` to package your Coconut files, you'll also need to add `global-include *.coco` to your [`MANIFEST.in`](https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html).

##### Example

Expand Down
9 changes: 5 additions & 4 deletions coconut/tests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@

os.environ["PYDEVD_DISABLE_FILE_VALIDATION"] = "1"

# run fewer tests on Windows so appveyor doesn't time out
TEST_ALL = get_bool_env_var("COCONUT_TEST_ALL", not WINDOWS)


# -----------------------------------------------------------------------------------------------------------------------
# CONSTANTS:
Expand Down Expand Up @@ -984,8 +987,7 @@ def test_no_tco(self):
def test_no_wrap(self):
run(["--no-wrap"])

# run fewer tests on Windows so appveyor doesn't time out
if not WINDOWS:
if TEST_ALL:
if CPYTHON:
def test_any_of(self):
with using_env_vars({
Expand Down Expand Up @@ -1024,8 +1026,7 @@ def test_trace(self):
run(["--jobs", "0", "--trace"], check_errors=False)


# more appveyor timeout prevention
if not WINDOWS:
if TEST_ALL:
@add_test_func_names
class TestExternal(unittest.TestCase):

Expand Down

0 comments on commit 68cdcff

Please sign in to comment.