Skip to content

Commit cfaa757

Browse files
committed
Adjust manifest and init
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.
1 parent 53a7f20 commit cfaa757

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

MANIFEST.in

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
include LICENSE
22
include README.rst
33

4-
include atomdb/datasets/*/data/*
5-
include atomdb/datasets/*/raw_data/*
4+
include atomdb/datasets/*/db/*

atomdb/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
from atomdb.promolecule import *
2626

27+
from atomdb.periodic import *
28+
2729

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

0 commit comments

Comments
 (0)