forked from pierrepo/PBxplore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request pierrepo#131 from HubLot/conda
conda package
- Loading branch information
Showing
6 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,6 @@ eggs | |
# Unit test / coverage reports | ||
.coverage | ||
nosetests.xml | ||
# conda | ||
devtools/conda/*.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## How to release | ||
|
||
#### Update version number | ||
|
||
|
||
#### Publish Documentation | ||
|
||
|
||
#### Publish on Pypi | ||
|
||
|
||
#### Publish on Conda | ||
|
||
1. Build the package (inside `conda` directory) | ||
|
||
conda build --python 2.7 --python 3.3 --python 3.4 --python 3.5 -c bioconda -c mdanalysis pbxplore | ||
|
||
2. The path of the created archive will be given at the end of the process | ||
|
||
3. Convert it for all plateforms (where `X.X.X` is the pbxplore version and `YY` is the Python version) | ||
|
||
conda convert --platform all /path/to/archive/pbxplore-X.X.X-pyYY_0.tar.bz2 | ||
|
||
4. Upload it to anaconda | ||
|
||
anaconda upload /path/to/archive/pbxplore-X.X.X-pyYY_0.tar.bz2 | ||
|
||
This has to be done for each package created. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"%PYTHON%" setup.py install | ||
if errorlevel 1 exit 1 | ||
|
||
:: Add more build steps here, if they are necessary. | ||
|
||
:: See | ||
:: http://docs.continuum.io/conda/build.html | ||
:: for a list of environment variables that are set during the build process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
$PYTHON setup.py install | ||
|
||
# Add more build steps here, if they are necessary. | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html | ||
# for a list of environment variables that are set during the build process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
package: | ||
name: pbxplore | ||
version: "1.3.1" | ||
|
||
source: | ||
git_url: https://github.com/pierrepo/PBxplore | ||
git_branch: master | ||
|
||
build: | ||
entry_points: | ||
- PBassign = pbxplore.scripts.PBassign:pbassign_cli | ||
- PBclust = pbxplore.scripts.PBclust:pbclust_cli | ||
- PBcount = pbxplore.scripts.PBcount:pbcount_cli | ||
- PBstat = pbxplore.scripts.PBstat:pbstat_cli | ||
- PBdata = pbxplore.scripts.PBdata:pbdata_cli | ||
|
||
|
||
requirements: | ||
build: | ||
- python | ||
- setuptools | ||
- numpy | ||
- matplotlib | ||
- python-weblogo | ||
- mdanalysis >=0.11 | ||
|
||
run: | ||
- python | ||
- numpy | ||
- matplotlib | ||
- python-weblogo | ||
- mdanalysis >=0.11 | ||
|
||
test: | ||
imports: | ||
- pbxplore | ||
- pbxplore.analysis | ||
- pbxplore.demo | ||
- pbxplore.io | ||
- pbxplore.structure | ||
- pbxplore.tests | ||
|
||
commands: | ||
- PBassign --help | ||
- PBclust --help | ||
- PBcount --help | ||
- PBstat --help | ||
- PBdata --help | ||
- python -c 'import pbxplore; pbxplore.test()' | ||
|
||
|
||
requires: | ||
- coverage | ||
- nose | ||
|
||
about: | ||
home: https://github.com/pierrepo/PBxplore | ||
license: MIT License | ||
license_file: LICENSE | ||
summary: 'PBxplore is a suite of tools dedicated to Protein Block analysis.' | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html for | ||
# more information about meta.yaml |