Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ Information of CellTypist can be also found in our CellTypist portal. [![Website

# Install CellTypist
### Using pip [![PyPI](https://img.shields.io/pypi/v/celltypist.svg?color=brightgreen&style=flat)](https://pypi.org/project/celltypist)
Install the core package:
```console
pip install celltypist
```

To include additional dependencies for tutorials and documentation, install with the [doc] extras:
```console
pip install celltypist[doc]
```

### Using conda [![install with bioconda](https://img.shields.io/conda/vn/bioconda/celltypist.svg?color=brightgreen&style=flat)](https://anaconda.org/bioconda/celltypist)
```console
conda install -c bioconda -c conda-forge celltypist
Expand Down
1 change: 1 addition & 0 deletions requirements-doc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leidenalg>=0.9.0
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ openpyxl>=3.0.4
click>=7.1.2
requests>=2.23.0
scanpy>=1.7.0
leidenalg>=0.9.0
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ def get_readme():
with open("README.md", "rt", encoding="utf-8") as fh:
return fh.read()

def get_requirements():
with open("requirements.txt", "rt", encoding="utf-8") as fh:
def get_requirements(requirements_file: str):
with open(requirements_file, "rt", encoding="utf-8") as fh:
return [line.strip() for line in fh.readlines()]

def get_version():
Expand All @@ -26,7 +26,10 @@ def get_version():
long_description_content_type="text/markdown",
url="https://github.com/Teichlab/celltypist",
packages=setuptools.find_packages(),
install_requires=get_requirements(),
install_requires=get_requirements("requirements.txt"),
extras_require={
"doc": get_requirements("requirements-doc.txt"),
},
include_package_data=True,
entry_points={
'console_scripts': ['celltypist=celltypist.command_line:main'],
Expand Down