-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
147 additions
and
536 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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
*.pyc | ||
*.egg-info | ||
/build/ | ||
/.coverage | ||
/*.egg-info/ | ||
/dist/ | ||
/docs/build/ | ||
/.pytest_cache/ | ||
/.cache/ | ||
/.tox/ | ||
/htmlcov/ | ||
/pyproject.lock | ||
/setup.py |
This file was deleted.
Oops, something went wrong.
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,37 @@ | ||
language: python | ||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: TOXENV=py27-coverage-codecov | ||
- python: 3.4 | ||
env: TOXENV=py34 | ||
- python: 3.5 | ||
env: TOXENV=py35 | ||
- python: 3.6 | ||
env: TOXENV=py36 | ||
- python: 3.7 | ||
env: TOXENV=py37-coverage-codecov | ||
dist: xenial | ||
sudo: required | ||
- python: 3.6 | ||
stage: deploy | ||
env: TOXENV=docs | ||
before_install: | ||
- pip install tox tox-venv | ||
- | | ||
if [[ $TOXENV != docs ]]; then | ||
pip --upgrade pip"<=18.0" | ||
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python | ||
source .travis/install-mopac.sh | ||
fi | ||
install: true | ||
script: tox | ||
deploy: | ||
provider: pages | ||
skip-cleanup: true | ||
github-token: $GITHUB_TOKEN | ||
keep-history: true | ||
local-dir: docs/build | ||
on: | ||
branch: master | ||
condition: $TOXENV = docs |
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,5 @@ | ||
wget $MOPAC_DOWNLOAD_URL $MOPAC_PASSWORD_URL | ||
unzip MOPAC2016_for_Linux_64_bit.zip | ||
chmod +x MOPAC2016.exe | ||
export PATH="$PATH:$PWD/.travis" | ||
export MOPACDIR="$PWD" |
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,4 @@ | ||
#!/bin/bash | ||
export LD_LIBRARY_PATH=$MOPACDIR | ||
export MOPAC_LICENSE=$MOPACDIR | ||
$MOPACDIR/MOPAC2016.exe "$@" |
This file was deleted.
Oops, something went wrong.
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
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,33 @@ | ||
[tool.poetry] | ||
name = "pyberny" | ||
version = "0.3.4" | ||
description = "Molecular/crystal structure optimizer" | ||
readme = "README.md" | ||
authors = ["Jan Hermann <[email protected]>"] | ||
repository = "https://github.com/azag0/pyberny" | ||
documentation = "https://janhermann.cz/pyberny" | ||
license = "MPL-2.0" | ||
packages = [ | ||
{ include = "berny" }, | ||
] | ||
classifiers = [ | ||
"Environment :: Console", | ||
"Intended Audience :: Science/Research", | ||
"Operating System :: POSIX", | ||
"Topic :: Scientific/Engineering :: Chemistry", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "~2.7 || ^3.4" | ||
numpy = "^1.15" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^3.6" | ||
sphinx = "^1.7" | ||
flake8 = "^3.5" | ||
toml = "^0.10.0" | ||
coverage = "^4.5" | ||
|
||
[tool.poetry.scripts] | ||
berny = "berny.cli:main" |
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,36 @@ | ||
[flake8] | ||
ignore = E226,E501,E741 | ||
|
||
[tool:pytest] | ||
filterwarnings = | ||
ignore::PendingDeprecationWarning | ||
|
||
[tox:tox] | ||
minversion = 3.3 | ||
requires = tox-venv | ||
envlist = py27 | ||
|
||
[testenv] | ||
skip_install = true | ||
whitelist_externals = poetry | ||
deps = | ||
pytest | ||
coverage: coverage | ||
codecov: codecov | ||
commands = | ||
poetry install --no-dev | ||
!coverage: pytest -v | ||
coverage: coverage run --source=berny --branch -m pytest -v | ||
codecov: codecov | ||
passenv = | ||
MOPACDIR | ||
codecov: TOXENV CI TRAVIS TRAVIS_* | ||
|
||
[testenv:docs] | ||
whitelist_externals = touch | ||
deps = | ||
sphinx | ||
toml | ||
commands = | ||
sphinx-build -d "{toxworkdir}/docs_doctree" docs docs/build | ||
touch docs/build/.nojekyll |
Empty file.