Skip to content

Commit b3a103a

Browse files
committed
Merge branch 'master' of ssh://github.com/popgenmethods/smcpp
2 parents ef3781a + b4a1220 commit b3a103a

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ install:
2020
- conda build -c terhorst -c conda-forge -c bioconda conda --output > .packages
2121
- conda/template.py conda/construct.tpl $VERSION > conda/construct.yaml
2222

23+
before_deploy:
24+
- constructor conda
2325
deploy:
2426
- provider: script
2527
script: conda/deploy.sh

README.rst

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ whole genome sequence data.
99
Quick start guide
1010
=================
1111

12-
1. Download and install the `latest release`_.
12+
1. Follow the `installation instructions`_.
1313

1414
2. Convert your VCF(s) to the SMC++ input format with vcf2smc_::
1515

@@ -43,24 +43,16 @@ populations; see split_.
4343
Installation instructions
4444
=========================
4545

46-
Installer binaries are available from the `releases page`_. Download
47-
the installer for your platform and then run it using ``bash``.
48-
The script will walk you through the installation process. You may
49-
need to ``source /path/to/smcpp/bin/activate`` before running
50-
``/path/to/smcpp/bin/smc++`` in order to prevent conflicts with your
51-
existing Python installation.
52-
53-
The installers are based on the Anaconda_ scientific Python distribution.
54-
If Anaconda already exists on your machine, a more efficient way to
55-
install SMC++ is by using the ``conda`` command::
46+
SMC++ is distributed as an Anaconda_ package. Inside the Anaconda environment, install
47+
the precompiled binary using the command::
5648

5749
$ conda install -c terhorst -c bioconda -c conda-forge smcpp
5850

5951
This will automatically download all necessary dependencies and create
6052
an ``smc++`` executable in the ``bin/`` folder of your Anaconda
6153
distribution.
6254

63-
If neither of these options works for you, you may build the software
55+
You may also build the software
6456
from scratch using the `build instructions`_ provided in the next
6557
section.
6658

@@ -71,7 +63,7 @@ Build instructions
7163
==================
7264
SMC++ requires the following libraries and executables in order compile and run:
7365

74-
- Python 3.3 or greater.
66+
- Python 3.5 or greater.
7567
- A C++-11 compiler (gcc 4.8 or later, for example).
7668
- gmp_, for some rational field computations.
7769
- mpfr_ (at least version 3.0.0), for some extended precision calculations.

conda/deploy.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash -x
22
set -e
33
export PATH="$HOME/miniconda/bin:$PATH"
4-
PKGS=$(conda build -c terhorst -c conda-forge -c bioconda conda --output)
54
PKGS=$(cat .packages)
65
anaconda -t $ANACONDA_TOKEN upload --force $PKGS
76

0 commit comments

Comments
 (0)