Skip to content

Commit

Permalink
Remove namespacing (#46)
Browse files Browse the repository at this point in the history
Changes rmakers from namespaced package to vanilla package
  • Loading branch information
trevorbaca authored Feb 19, 2025
1 parent 39f555f commit 23fc01a
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import abjad
import abjadext
import pytest
import rmakers


@pytest.fixture(autouse=True)
Expand All @@ -9,4 +9,4 @@ def inject_abjad_into_doctest_namespace(doctest_namespace):
Inject Abjad and rmakers into doctest namespace.
"""
doctest_namespace["abjad"] = abjad
doctest_namespace["rmakers"] = abjadext.rmakers
doctest_namespace["rmakers"] = rmakers
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "abjad-ext-rmakers"
name = "rmakers"
version = "3.21"
description = "rmakers extends Abjad with tools for rhythm construction."
authors = [ { name = "Trevor Bača", email = "[email protected]" } ]
Expand All @@ -23,13 +23,11 @@ dependencies = [
]

[project.urls]
Homepage = "http://abjad.github.io"
Homepage = "http://rmakers.github.io"

[tool.setuptools]
package-dir = { "" = "source" }

[tool.setuptools.packages.find]
where = ["source"]

[tool.setuptools.package-data]
"abjadext" = ["**/*"]
include = ["rmakers*"]
3 changes: 0 additions & 3 deletions source/abjadext/__init__.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import abjad
import pytest
from abjadext import rmakers
import rmakers


def test_exceptions_01():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tags.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import abjad
from abjadext import rmakers
import rmakers


def test_tags_01():
Expand Down

0 comments on commit 23fc01a

Please sign in to comment.