Skip to content

Commit

Permalink
add sdist, upgrade to 0.1.0a2
Browse files Browse the repository at this point in the history
  • Loading branch information
kemingy committed Sep 13, 2021
1 parent 49c2a0a commit e400cc2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mosec"
version = "0.1.0-alpha.1"
version = "0.1.0-alpha.2"
authors = ["Keming <kemingy94@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion mosec/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0-alpha.1"
__version__ = "0.1.0-alpha.2"
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ for VERSION in 3.6 3.7 3.8 3.9; do

if [[ "${OS_NAME}" == "Linux" ]]; then
PRODUCTION_MODE=yes RUST_TARGET=x86_64-unknown-linux-gnu \
${HOME}/miniconda3/envs/py${VERSION}/bin/python setup.py bdist_wheel --plat-name manylinux1_x86_64 # linux
${HOME}/miniconda3/envs/py${VERSION}/bin/python setup.py sdist bdist_wheel --plat-name manylinux1_x86_64 # linux
else
PRODUCTION_MODE=yes RUST_TARGET=x86_64-apple-darwin \
${HOME}/miniconda3/envs/py${VERSION}/bin/python setup.py bdist_wheel --plat-name macosx_10.9_x86_64 # macos
${HOME}/miniconda3/envs/py${VERSION}/bin/python setup.py sdist bdist_wheel --plat-name macosx_10.9_x86_64 # macos
fi

conda deactivate
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def build_extension(self, ext: Extension):
else:
target_dir = path.join("target", "release", PACKAGE_NAME)
shutil.copy(target_dir, path.join(build_libpath, PACKAGE_NAME))
shutil.copytree("src", path.join(self.build_lib, "src"))

if self.inplace:
os.makedirs(os.path.dirname(libpath), exist_ok=True)
Expand Down

0 comments on commit e400cc2

Please sign in to comment.