Skip to content

Commit

Permalink
Merge pull request #72 from changliao1025/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
changliao1025 authored May 11, 2023
2 parents 8817cee + c86fa70 commit 784738a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 13 deletions.
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.21"
version: "0.2.22"

source:
git_rev: v0.2.21
git_rev: v0.2.22
git_url: https://github.com/changliao1025/pyhexwatershed

build:
Expand Down
Binary file removed pyhexwatershed/_bin/hexwatershed
Binary file not shown.
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.21
current_version = 0.2.22
commit = True
tag = True

Expand Down
31 changes: 21 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
AUTHOR = "Chang Liao"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/changliao1025/pyhexwatershed"
VERSION = "0.2.21"
VERSION = "0.2.22"
REQUIRES_PYTHON = ">=3.8.0"
KEYWORDS = "hexwatershed hexagon"

Expand All @@ -35,16 +35,27 @@
"Topic :: Scientific/Engineering :: Physics"
]

data_files=[ ( 'external/hexwatershed/', ["external/hexwatershed/CMakeLists.txt"]) ,
( "external/rapidjson/" , ["external/rapidjson/*.h", "external/rapidjson/*.cpp"] ),
( "external/rapidjson/error/" , ["external/rapidjson/error/*.h", "external/rapidjson/error/*.cpp"] ),
( "external/rapidjson/internal/" , ["external/rapidjson/internal/*.h", "external/rapidjson/internal/*.cpp"] ),
( "external/rapidjson/msinttypes/" , ["external/rapidjson/msinttypes/*.h", "external/msinttypes/error/*.cpp"] ),
( "external/hexwatershed/src", ["external/hexwatershed/src/*.h", "external/hexwatershed/src/*.cpp"] ),
( "external/hexwatershed/src/compset/", ["external/hexwatershed/src/compset/*.h", "external/hexwatershed/src/compset/*.cpp"] ),
( "external/hexwatershed/src/domain/" , ["external/hexwatershed/src/domain/*.h", "external/hexwatershed/src/domain/*.cpp"] ),
( "external/hexwatershed/src/json/" , ["external/hexwatershed/src/json/*.h", "external/hexwatershed/src/json/*.cpp"] )
def get_data_files(sFolder_in):
data_files_tmp = []
for root, dirs, files in os.walk(sFolder_in):
for file in files:
data_files_tmp.append(os.path.join(root, file))

#print(data_files_tmp)
return data_files_tmp


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

HERE = os.path.abspath(os.path.dirname(__file__))
HERE = os.path.expandvars(HERE)
Expand Down

0 comments on commit 784738a

Please sign in to comment.