Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mosdef-hub/gmso into rigid-bodies
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed Jan 23, 2025
2 parents c712555 + 8b3cf4b commit 91642f0
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 65 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
name: Checkout Branch / Pull Request

- name: Install Mamba
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment-dev.yml
create-args: >-
Expand All @@ -43,7 +43,7 @@ jobs:
run: python -m pytest -v --cov=gmso --cov-report=xml --cov-append --cov-config=setup.cfg --color yes --pyargs gmso

- name: Upload Coverage Report
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
name: GMSO-Coverage
verbose: true
Expand All @@ -67,7 +67,7 @@ jobs:
name: Checkout Branch / Pull Request

- name: Install Mamba
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment-dev.yml
create-args: >-
Expand All @@ -92,30 +92,19 @@ jobs:
name: Checkout Branch / Pull Request

- name: Install Mamba
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment-dev.yml
create-args: python=3.12

- name: Clone mBuild and Foyer and forcefield-utilities
run: |
git clone https://github.com/mosdef-hub/mbuild.git
git clone https://github.com/mosdef-hub/foyer.git
git clone https://github.com/mosdef-hub/forcefield-utilities.git
- name: Update Environment with mbuild/foyer/ffutils Dependencies
run: |
micromamba update --name gmso-dev --file mbuild/environment.yml
micromamba update --name gmso-dev --file foyer/environment.yml
micromamba update --name gmso-dev --file forcefield-utilities/environment-dev.yml
- name: Install Packages from Source
run: |
pip install -e mbuild
pip install -e foyer
pip install -e forcefield-utilities
pip install -e .
- name: Check environment
run: |
micromamba list
- name: Run Bleeding Edge Tests
run: |
python -m pytest -v --color yes --pyargs gmso
Expand Down
22 changes: 18 additions & 4 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,29 @@ dependencies:
- sympy
- unyt>=2.9.5
- boltons
- lark>=1.2
- lxml
- intermol
- mdtraj
- pydantic>=2
- networkx
- nglview>=3
- pytest
- mbuild>=1.1
- garnett>=0.7.1
- openbabel>=3.0.0
- foyer>=0.11.3
- forcefield-utilities>=0.2.1
- openff-toolkit-base >=0.11
- openmm
- gsd>=2.9
- parmed>=3.4.3
- packmol>=20
- pytest-cov
- pycifrw
- rdkit>=2021
- requests
- requests-mock
- scipy
- treelib
- codecov
- bump2version
- matplotlib
- ipywidgets
- ele>=0.2.0
Expand All @@ -30,3 +40,7 @@ dependencies:
- python-symengine
- hoomd>=4.0,<5.0
- importlib_resources
- pip:
- git+https://github.com/mosdef-hub/mbuild.git@main
- git+https://github.com/mosdef-hub/foyer.git@main
- git+https://github.com/mosdef-hub/forcefield-utilities.git@main
44 changes: 44 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "gmso"
description = "A flexible storage of chemical topology for molecular simulation."
readme = "README.md"
authors = [
{name = "Matthew W Thompson", email = "matt.thompson@vanderbilt.edu"},
{name = "Justin Gilmer", email = "justin.b.gilmer@vanderbilt.edu"},
]
maintainers = [
{name = "Nicholas Craven", email = "nicholas.c.craven@vanderbilt.edu"},
{name = "Chris Jones", email = "chrisjones4@u.boisestate.edu"},
]
license= {text = "MIT"}
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Chemistry",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
urls = {Homepage = "https://github.com/mosdef-hub/gmso"}
requires-python = ">=3.9"
dynamic = ["version"]

[tool.setuptools]
zip-safe = false
include-package-data = true
license-files = ["LICENSE"]

[tool.setuptools.packages]
find = {namespaces = false}

[tool.setuptools.dynamic]
version = {attr = "gmso.__version__"}
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ omit =

[bumpversion:file:gmso/__init__.py]

[bumpversion:file:setup.py]

[bumpversion:file:docs/conf.py]
40 changes: 0 additions & 40 deletions setup.py

This file was deleted.

0 comments on commit 91642f0

Please sign in to comment.