-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #317 from debbiemarkslab/pdb_and_setup_fixes
Pdb and setup fixes
- Loading branch information
Showing
8 changed files
with
103 additions
and
153 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 |
---|---|---|
|
@@ -28,10 +28,12 @@ jobs: | |
conda info -a | ||
conda create -q -n test-environment python=${{ matrix.python-version }} numpy scipy numba pandas matplotlib | ||
source activate test-environment | ||
- name: Run setup.py | ||
- name: Install Hatch | ||
uses: pypa/hatch@install | ||
- name: Build and install package | ||
run: | | ||
python setup.py sdist --formats=zip -k | ||
find ./dist -iname "*.zip" -print0 | xargs -0 pip install | ||
hatch build | ||
find ./dist -iname "*.tar.gz" -print0 | xargs -0 pip install | ||
pip install codecov | ||
- name: Download test files | ||
run: | | ||
|
@@ -42,14 +44,8 @@ jobs: | |
with: | ||
run: coverage run -m unittest discover -s test -p "Test*.py" | ||
working-directory: ./ #optional | ||
- name: Publish evcouplings to test PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
password: ${{ secrets.PYPI_ACCESS_TOKEN_TEST }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
- name: Publish evcouplings to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@master | ||
uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_ACCESS_TOKEN }} |
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ __pycache__ | |
*.ipynb_checkpoints* | ||
notebooks_dev/* | ||
evcouplings.egg-info/* | ||
/dist/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "evcouplings" | ||
version = "0.2.1" | ||
description = "A Framework for evolutionary couplings analysis" | ||
readme = "README.md" | ||
license = "MIT" | ||
authors = [ | ||
{ name = "Thomas Hopf", email = "[email protected]" }, | ||
] | ||
keywords = [ | ||
"analysis", | ||
"couplings", | ||
"evolutionary", | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
] | ||
dependencies = [ | ||
"billiard", | ||
"biopython>=1.84", | ||
"bokeh", | ||
"click", | ||
"filelock", | ||
"jinja2", | ||
"matplotlib", | ||
"msgpack", | ||
"numba", | ||
"numpy", | ||
"pandas", | ||
"psutil", | ||
"requests", | ||
"ruamel.yaml<0.18", | ||
"scikit-learn", | ||
"scipy", | ||
"seaborn", | ||
"setuptools>=18.2", | ||
] | ||
|
||
[project.scripts] | ||
evcouplings = "evcouplings.utils.app:app" | ||
evcouplings_dbupdate = "evcouplings.utils.update_database:app" | ||
evcouplings_runcfg = "evcouplings.utils.pipeline:app" | ||
evcouplings_summarize = "evcouplings.utils.summarize:app" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/debbiemarkslab/EVcouplings" | ||
|
||
[tool.hatch.version] | ||
path = "evcouplings/__init__.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/evcouplings", | ||
] |
This file was deleted.
Oops, something went wrong.