Skip to content

Commit

Permalink
Adjust manifest and init
Browse files Browse the repository at this point in the history
Upon changing from setup.py to pyproject.toml, it became apparent
that doing `pip install -e .` in the top directory will miss a
bunch of dataset files because of incorrect pathnames
(there are no such `atomdb/datasets/*/data/*` or
`atomdb/datasets/*/raw_data/*` paths in the repository) in
MANIFEST.in. Also, atomdb.periodic wasn't getting imported in
atomdb.__init__.py. This was causing some file deletions when
switching between branches on my local version of the repository.
  • Loading branch information
maximilianvz committed Feb 5, 2024
1 parent 3480e4f commit b6922a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include LICENSE
include README.rst

include atomdb/datasets/*/data/*
include atomdb/datasets/*/raw_data/*
include atomdb/datasets/*/db/*
2 changes: 2 additions & 0 deletions atomdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

from atomdb.promolecule import *

from atomdb.periodic import *


__version__ = version
r"""AtomDB version string."""

0 comments on commit b6922a9

Please sign in to comment.