diff --git a/.github/workflows/python-publish-test.yml b/.github/workflows/python-publish-test.yml index 3e96d17..87d676c 100644 --- a/.github/workflows/python-publish-test.yml +++ b/.github/workflows/python-publish-test.yml @@ -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 }} diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index fc2b37a..d98986d 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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 }} diff --git a/setup.cfg b/setup.cfg index a5bbeb8..648981e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/setup.py b/setup.py index 560b5cd..ea04ecf 100644 --- a/setup.py +++ b/setup.py @@ -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, @@ -28,4 +22,4 @@ 'TurtleMol=TurtleMol.__main__:main', # Assuming 'main.py' contains your 'main' function ], }, -) \ No newline at end of file +)