Skip to content

Commit

Permalink
Merge pull request #14 from insilichem/update-conda-travis
Browse files Browse the repository at this point in the history
Fix CI problems
  • Loading branch information
jaimergp committed May 27, 2019
2 parents 82fd1c9 + 8bf87d1 commit efdcb2f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Expand Up @@ -4,6 +4,8 @@ env:
- MYCONDAPY=2.7
- MYCONDAPY=3.5
- MYCONDAPY=3.6
# - MYCONDAPY=3.7


####
# EVERYTHING BELOW THIS LINE WILL BE COPIED INTO OTHER YMLs
Expand Down Expand Up @@ -40,8 +42,7 @@ cache:
- $HOME/miniconda

before_cache:
- if [[ ! $TRAVIS_TAG ]]; then rm -rf $HOME/miniconda/conda-bld; fi
- rm -rf $HOME/miniconda/locks $HOME/miniconda/pkgs $HOME/miniconda/var $HOME/miniconda/conda-meta/history
- conda clean --all --yes
- conda build purge

branches:
Expand Down Expand Up @@ -76,7 +77,8 @@ before_install:


install:
- source $HOME/miniconda/bin/activate
- source $HOME/miniconda/etc/profile.d/conda.sh
- conda activate
- hash -r

# Configure conda and get a few essentials
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -73,7 +73,7 @@ OMMProtocol is scientific software, funded by public research grants (Spanish MI
author = {Rodríguez-Guerra Pedregal, Jaime and
Alonso-Cotchico, Lur and
Velasco-Carneros, Lorea and
Maréchal, Jean-Didier}
Maréchal, Jean-Didier}
title = {OMMProtocol: A Command Line Application to Launch Molecular Dynamics Simulations with OpenMM},
url = {https://chemrxiv.org/articles/OMMProtocol_A_Command_Line_Application_to_Launch_Molecular_Dynamics_Simulations_with_OpenMM/7059263/1},
DOI = {10.26434/chemrxiv.7059263.v1}
Expand Down
3 changes: 1 addition & 2 deletions devtools/conda-recipe/meta.yaml
Expand Up @@ -8,8 +8,7 @@ about:
summary: Easy to deploy MD protocols for OpenMM

source:
git_url: https://github.com/insilichem/ommprotocol.git
git_tag: {{ environ.get('GIT_DESCRIBE_TAG', '') }}
path: ../../

requirements:
build:
Expand Down
19 changes: 14 additions & 5 deletions setup.py
@@ -1,15 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup
from setuptools import setup, find_packages
import io
import os
import versioneer

VERSION = versioneer.get_version()


def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(os.path.join(os.path.dirname(__file__), filename), encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)

long_description = read('README.rst')

setup(
name='ommprotocol',
Expand All @@ -21,8 +30,8 @@ def read(fname):
author="Jaime Rodríguez-Guerra",
author_email='jaime.rogue@gmail.com',
description='Easy to deploy MD protocols for OpenMM',
long_description=read('README.rst'),
packages=['ommprotocol'],
long_description=long_description,
packages=find_packages(),
package_data={'': ['../examples/*.yaml']},
platforms='any',
classifiers=[
Expand Down

0 comments on commit efdcb2f

Please sign in to comment.