Skip to content

Commit

Permalink
Merge pull request #62 from changliao1025/development
Browse files Browse the repository at this point in the history
add all subf
  • Loading branch information
changliao1025 authored May 10, 2023
2 parents ee98985 + 709229d commit 0bc88b6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 8 deletions.
15 changes: 14 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,21 @@ include HISTORY.rst
include LICENSE
include README.rst

include external/hexwatershed/*
include external/hexwatershed/*.txt
include external/hexwatershed/src/*
include external/hexwatershed/src/compset/*.h
include external/hexwatershed/src/compset/*.cpp
include external/hexwatershed/src/domain/*.h
include external/hexwatershed/src/domain/*.cpp
include external/hexwatershed/src/json/*.h
include external/hexwatershed/src/json/*.cpp
include external/rapidjson/*
include external/rapidjson/error/*.h
include external/rapidjson/error/*.cpp
include external/rapidjson/internal/*.h
include external/rapidjson/internal/*.cpp
include external/rapidjson/msinttypes/*.h
include external/rapidjson/msinttypes/*.cpp

recursive-include tests *
recursive-exclude * __pycache__
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.11"
version: "0.2.12"

source:
git_rev: v0.2.11
git_rev: v0.2.12
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.11
current_version = 0.2.12
commit = True
tag = True

Expand Down
18 changes: 14 additions & 4 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.11"
VERSION = "0.2.12"
REQUIRES_PYTHON = ">=3.8.0"
KEYWORDS = "hexwatershed hexagon"

Expand Down Expand Up @@ -177,10 +177,20 @@ def run(self):
python_requires=REQUIRES_PYTHON,
keywords=KEYWORDS,
url=URL,
packages=['pyhexwatershed', 'external'],
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"
])
],
packages=['pyhexwatershed'],
package_data={
"pyhexwatershed": ["_bin/*", "_lib/*"],
"external": ["hexwatershed/*", "rapidjson/*"]
"pyhexwatershed": ["_bin/*", "_lib/*"]
},
install_requires=REQUIRED,
cmdclass={"build_external": build_external},
Expand Down

0 comments on commit 0bc88b6

Please sign in to comment.