forked from mosdef-hub/msibi
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version: bump, add to setup, and access in python
- Loading branch information
1 parent
50f80db
commit 0a988bf
Showing
3 changed files
with
20 additions
and
5 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
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 @@ | ||
__version__ = "0.2.0" |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
""" | ||
|
||
import os | ||
from setuptools import setup | ||
from setuptools.command.test import test as TestCommand | ||
import sys | ||
|
@@ -18,6 +19,12 @@ | |
|
||
requirements = ["numpy", "six", "networkx"] | ||
|
||
NAME = "msibi" | ||
# Load the package's __version__.py module as a dictionary. | ||
here = os.path.abspath(os.path.dirname(__file__)) | ||
about = {} | ||
with open(os.path.join(here, NAME, "__version__.py")) as f: | ||
exec(f.read(), about) | ||
|
||
class PyTest(TestCommand): | ||
def finalize_options(self): | ||
|
@@ -33,12 +40,17 @@ def run_tests(self): | |
|
||
|
||
setup( | ||
name="msibi", | ||
version="0.1", | ||
description="", | ||
url="http://github.com/mosdef-hub/misibi", | ||
name=NAME, | ||
version=about["__version__"], | ||
description=( | ||
"A package for optimizing coarse-grained force fields using " + | ||
"multistate iterative Boltzmann inversion." | ||
), | ||
url="http://github.com/cmelab/msibi", | ||
author="Christoph Klein, Timothy C. Moore", | ||
author_email="[email protected], [email protected]", | ||
author_email=( | ||
"[email protected], [email protected]" | ||
), | ||
license="MIT", | ||
packages=["msibi"], | ||
install_requires=requirements, | ||
|