Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/python-publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
python -m pip install build twine
- name: Build package
run: python -m build
- name: Check package metadata
run: python -m twine check dist/*
- name: Publish package
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
python -m pip install build twine
- name: Build package
run: python -m build
- name: Check package metadata
run: python -m twine check dist/*
- name: Publish package
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = TurtleMol
author = Dominick Filonowich
author_email = filonowichd74@gmail.com
description = Design, create, and generate unique, complex molecular structures of any shape and size!
icense = MIT license
license = MIT License
long_description = file: README.md
long_description_content_type = text/markdown

Expand Down
8 changes: 1 addition & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@
'scipy',
]

setup_requirements = []
test_requirements = requirements.append(['pytest'])

setup(
python_requires = '>=3.7',
packages = find_packages(include=['TurtleMol', 'TurtleMol.*']),
install_requires=requirements,
include_package_data=True,
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
zip_safe=False,
Expand All @@ -28,4 +22,4 @@
'TurtleMol=TurtleMol.__main__:main', # Assuming 'main.py' contains your 'main' function
],
},
)
)
Loading