Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

Commit

Permalink
Bumps version to 0.1a1. (#4)
Browse files Browse the repository at this point in the history
* Creating develop branch

* Removes authors until all have confirmed they want to be listed.

* Adds back authors to README.rst.

* Adds .travis.yml to configure travis ci.

* Adds openfermion to requirements.txt

* Modifies openfermion version to correct format.

* Uses explicit prerelease version for openfermion

* Tries exact match for pre-release version.

* Adds travis and coveral badges.

* Adds missing packages to setup.py

* Adds pypi badge.

* Adds a missing comma.

* Up version number in prep for new pypi.

* Disables broken tests.

* Fixes typo in excluded tests.
  • Loading branch information
dabacon authored Sep 27, 2017
1 parent 9b14f5a commit 669d6b5
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 3 deletions.
49 changes: 49 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
sudo: false
language: python
matrix:
include:
- os: linux
python: "2.7"
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['gcc-4.9', 'g++-4.9']
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=2.7
- os: linux
python: "3.4"
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['gcc-4.9', 'g++-4.9']
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4
- os: linux
python: "3.5"
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['gcc-4.9', 'g++-4.9']
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.5
- os: linux
python: "3.6"
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['gcc-4.9', 'g++-4.9']
env: CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.6

before_install:
- pip$PY install --upgrade pip setuptools wheel

install:
- if [ "${PYTHON:0:1}" = "3" ]; then export PY=3; fi
- pip$PY install --only-binary=numpy,scipy numpy scipy
- pip$PY install pybind11
- pip$PY install -r requirements.txt
- pip$PY install pytest-cov
- pip$PY install coveralls

# command to run tests
script: export OMP_NUM_THREADS=1 && pytest openfermionprojectq --cov openfermionprojectq -k "not ffft_test and not low_depth_trotter_simulation_test"

after_success:
- coveralls
11 changes: 10 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
OpenFermion-ProjectQ
====================

.. image:: https://travis-ci.org/quantumlib/OpenFermion-ProjectQ.svg?branch=develop
:target: https://travis-ci.org/quantumlib/OpenFermion-ProjectQ

.. image:: https://coveralls.io/repos/github/quantumlib/OpenFermion-ProjectQ/badge.svg?branch=develop
:target: https://coveralls.io/github/quantumlib/OpenFermion-ProjectQ?branch=develop

.. image:: https://badge.fury.io/py/openfermionprojectq.svg
:target: https://badge.fury.io/py/openfermionprojectq

`OpenFermion <http://openfermion.org>`_ is an open source package for compiling and analyzing quantum algorithms that simulate fermionic systems.
This plugin library allows the circuit simulation and compilation package `ProjectQ <https://projectq.ch>`_ to interface with OpenFermion.

Expand All @@ -14,7 +23,7 @@ Then, clone this git repo, change directory to the top level folder and run:
python -m pip install -e .
Alternatively, one can install using pip with the command
Alternatively, one can install the last major release with the command

.. code-block:: bash
Expand Down
2 changes: 1 addition & 1 deletion openfermionprojectq/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# limitations under the License.

"""Define version number here and read it from setup.py automatically"""
__version__ = "0.1a0"
__version__ = "0.1a1"
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
scipy>=0.18.0
numpy>=1.11.0
openfermion==0.1a0
projectq>=0.3.1
pytest>=3.0
future
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
description=('A plugin allowing OpenFermion to interaface with ProjectQ.'),
long_description=long_description,
install_requires=requirements,
license='Apache 2'
license='Apache 2',
packages=find_packages()
)

0 comments on commit 669d6b5

Please sign in to comment.