From 191e1ce0621c7c0be4e3d942b95c540fe58cd9c1 Mon Sep 17 00:00:00 2001 From: CHUN-HAO TO Date: Thu, 10 Mar 2022 08:44:11 -0800 Subject: [PATCH] instruction changes --- docs/installation.rst | 3 ++- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 0b139f9..1e8f785 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -11,10 +11,11 @@ Stable release To install linna, run this command in your terminal: .. code-block:: console - + $ pip install --no-deps linna $ pip install linna This is the preferred method to install linna, as it will always install the most recent stable release. +The two steps installation is to avoid the problem that pypi's package cannot depend on non-pypi packages. If you don't have `pip`_ installed, this `Python installation guide`_ can guide you through the process. diff --git a/setup.py b/setup.py index 5138941..3abfed7 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ with open('HISTORY.rst') as history_file: history = history_file.read() -requirements = ["numpy", "torch>=1.10.1", "emcee>=3.0.2", "h5py", "pydoe2", "scikit-learn", "torch-lr-finder", "matplotlib", "zeus-mcmc", "numdifftools", "sample_generator"] +requirements = ["numpy", "torch>=1.10.1", "emcee>=3.0.2", "h5py", "pydoe2", "scikit-learn", "torch-lr-finder", "matplotlib", "zeus-mcmc", "numdifftools", "sample_generator @ git+https://github.com/tmcclintock/Training_Sample_Generator.git#egg=sample_generator"] test_requirements = ['pytest>=3', ] @@ -40,6 +40,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/chto/linna', - version='0.0.2', + version='0.0.3', zip_safe=False, )