From 7f368bbf9d7e289bb079900288e063af85a7cbd3 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Sun, 16 Apr 2023 20:05:00 -0500 Subject: [PATCH] [Release Prep] v0.1.1 for conda --- meta.yaml | 2 +- setup.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta.yaml b/meta.yaml index f72ae42..1b99e93 100644 --- a/meta.yaml +++ b/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 91c1933836e8381a2ad7532f7d9639092d914745e43db14d27c3b7dd68af94b9 + sha256: aad643a1a82162c3e9ee2072b57cdbef3493cf71ece106c31bba8798a4627c44 build: noarch: python diff --git a/setup.py b/setup.py index 83c7c4c..d2815b6 100644 --- a/setup.py +++ b/setup.py @@ -72,7 +72,7 @@ def finalize_options(self): def run(self): - self.move_assets("./PyCytoData/data/", "./temp_assets/", [], True) + self.move_assets("./PyCytoData/data/", "../temp_assets/", [], True) shutil.rmtree("./PyCytoData/data/") try: shutil.rmtree("dist_conda/") @@ -81,8 +81,8 @@ def run(self): os.system("conda build . --output-folder dist_conda/ -c bioconda") os.system("anaconda upload ./dist_conda/noarch/pycytodata-{}-py_0.tar.bz2".format(VERSION)) - self.move_assets("./temp_assets/", "./PyCytoData/data/", [], False) - shutil.rmtree("./temp_assets/") + self.move_assets("../temp_assets/", "./PyCytoData/data/", [], True) + shutil.rmtree("../temp_assets/") setuptools.setup(