Skip to content

Commit

Permalink
PKG #17 #16 switch to pyproject and setuptools-scm
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Apr 12, 2024
1 parent 14b0a37 commit 62244a6
Show file tree
Hide file tree
Showing 12 changed files with 120 additions and 2,490 deletions.
18 changes: 0 additions & 18 deletions .flake8

This file was deleted.

9 changes: 0 additions & 9 deletions MANIFEST.in

This file was deleted.

15 changes: 15 additions & 0 deletions apsbss/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""Configuration of apsbss package."""

__project__ = "apsbss"

try:
from setuptools_scm import get_version

__version__ = get_version(root="..", relative_to=__file__)
del get_version
except (LookupError, ModuleNotFoundError):
from importlib.metadata import version

__version__ = version(__project__)
del version

# -----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: jemian@anl.gov
Expand Down
40 changes: 0 additions & 40 deletions apsbss/_requirements.py

This file was deleted.

Loading

0 comments on commit 62244a6

Please sign in to comment.