Skip to content

Commit

Permalink
Merge pull request #66 from changliao1025/development
Browse files Browse the repository at this point in the history
fix data files
  • Loading branch information
changliao1025 authored May 10, 2023
2 parents 02e9d64 + ba449a9 commit 3f10dec
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include HISTORY.rst
include LICENSE
include README.rst

include external/hexwatershed/*.txt
include external/hexwatershed/CMakeLists.txt
include external/hexwatershed/src/*
include external/hexwatershed/src/compset/*.h
include external/hexwatershed/src/compset/*.cpp
Expand Down
4 changes: 2 additions & 2 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package:
name: "hexwatershed"
version: "0.2.15"
version: "0.2.16"

source:
git_rev: v0.2.15
git_rev: v0.2.16
git_url: https://github.com/changliao1025/pyhexwatershed

build:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.15
current_version = 0.2.16
commit = True
tag = True

Expand Down
26 changes: 14 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
AUTHOR = "Chang Liao"
AUTHOR_EMAIL = "chang.liao@pnnl.gov"
URL = "https://github.com/changliao1025/pyhexwatershed"
VERSION = "0.2.15"
VERSION = "0.2.16"
REQUIRES_PYTHON = ">=3.8.0"
KEYWORDS = "hexwatershed hexagon"

Expand All @@ -38,6 +38,18 @@
"Topic :: Scientific/Engineering :: Physics"
]

data_files=[('external', [ "external/hexwatershed/CMakeLists.txt",
"external/hexwatershed/src/*.h","external/hexwatershed/src/*.cpp",
"external/hexwatershed/src/compset/*.h","external/hexwatershed/src/compset/*.cpp",
"external/hexwatershed/src/domain/*.h","external/hexwatershed/src/domain/*.cpp",
"external/hexwatershed/src/json/*.h","external/hexwatershed/src/json/*.cpp",
"external/rapidjson/*.h", "external/rapidjson/*.cpp",
"external/rapidjson/error/*.h", "external/rapidjson/error/*.cpp",
"external/rapidjson/internal/*.h", "external/rapidjson/internal/*.cpp",
"external/rapidjson/msinttypes/*.h", "external/msinttypes/error/*.cpp"
])
],

HERE = os.path.abspath(os.path.dirname(__file__))
HERE = os.path.expandvars(HERE)
# Check if the expanded path exists
Expand Down Expand Up @@ -177,17 +189,7 @@ def run(self):
python_requires=REQUIRES_PYTHON,
keywords=KEYWORDS,
url=URL,
data_files=[('external', ["hexwatershed/*.txt",
"hexwatershed/src/*.h","hexwatershed/src/*.cpp",
"hexwatershed/src/compset/*.h","hexwatershed/src/compset/*.cpp",
"hexwatershed/src/domain/*.h","hexwatershed/src/domain/*.cpp",
"hexwatershed/src/json/*.h","hexwatershed/src/json/*.cpp",
"rapidjson/*.h", "rapidjson/*.cpp",
"rapidjson/error/*.h", "rapidjson/error/*.cpp",
"rapidjson/internal/*.h", "rapidjson/internal/*.cpp",
"rapidjson/msinttypes/*.h", "msinttypes/error/*.cpp"
])
],
data_files=data_files,
packages=['pyhexwatershed'],
package_data={
"pyhexwatershed": ["_bin/*", "_lib/*"]
Expand Down

0 comments on commit 3f10dec

Please sign in to comment.