From 1e53ee91d7da4bee9a42d34f1ae0b504d6109892 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 14 Jan 2022 20:42:39 +0000 Subject: [PATCH] add conda build --- bld.bat | 2 ++ build.sh | 1 + meta.yaml | 32 ++++++++++++++++++++++++++++++++ setup.py | 22 ++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 bld.bat create mode 100644 build.sh create mode 100644 meta.yaml create mode 100644 setup.py diff --git a/bld.bat b/bld.bat new file mode 100644 index 0000000..c40a9bb --- /dev/null +++ b/bld.bat @@ -0,0 +1,2 @@ +"%PYTHON%" setup.py install +if errorlevel 1 exit 1 diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..a40f109 --- /dev/null +++ b/build.sh @@ -0,0 +1 @@ +$PYTHON setup.py install # Python command to install the script. diff --git a/meta.yaml b/meta.yaml new file mode 100644 index 0000000..5e2eb83 --- /dev/null +++ b/meta.yaml @@ -0,0 +1,32 @@ +package: + name: "scorect" + version: "0.0.1" + +source: + git_rev: v0.0.1 + git_url: https://github.com/LucasESBS/scoreCT + +requirements: + host: + - python + - setuptools + build: + - python + run: + - python + - pandas + - numpy + - requests + - matplotlib + - seaborn + +about: + home: https://github.com/LucasESBS/scoreCT + license: MIT + license_familY: MIT + license_file: LICENSE + summary: "Automated cell type annotation for scRNA-seq data in Scanpy" + +extra: + recipe-maintainers: + - LucasESBS diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f328235 --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +import setuptools + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + + +setuptools.setup( + name="scorect", + version="0.0.1", + author="Lucas Seninge", + author_email="lseninge@ucsc.edu", + description="scoreCT: Automated cell type annotation in scRNA-seq data", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/LucasESBS/scoreCT", + packages=setuptools.find_packages(), + classifiers=( + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ), +)