Skip to content

Commit

Permalink
Prep v0.1.0 release (#165)
Browse files Browse the repository at this point in the history
Switch to string-based version, pre-commit linting, using setup.cfg for requirements and remove use of `setuptools_scm` (previously used for versioning)
  • Loading branch information
leifdenby authored Sep 5, 2022
1 parent 9ab953b commit e6324fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ docs/*.blg
docs/*.log
docs/*.pdf
__pycache__/
dist/

# `data` instead of `data/` so that we can ignore symlinks too
data
Expand Down
3 changes: 3 additions & 0 deletions lagtraj/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import os
from pathlib import Path

__version__ = "0.1.0"


# Optional numba dependency
try:
from numba import njit
Expand Down
9 changes: 0 additions & 9 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ where=.
[options.extras_require]
test =
pytest
nbval
nb-black
dev =
%(test)s
pre-commit
Expand All @@ -48,10 +46,3 @@ ignore = E203, E501, W503

[isort]
profile=black

# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import setuptools

setuptools.setup(
use_scm_version=True,
setup_requires=["setuptools_scm"],
)
setuptools.setup()

0 comments on commit e6324fc

Please sign in to comment.