Skip to content

Commit

Permalink
Updated versioneer. Removed Python 2.7 support. Closes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus committed Dec 20, 2021
1 parent c60310d commit e0a201f
Show file tree
Hide file tree
Showing 6 changed files with 693 additions and 285 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.6, 3.7]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7', 'pypy-3.8', '3.11']

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
url="https://github.com/sympy/sphinx-math-dollar/",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
# python_requires= '>=3.6',
python_requires= '>=3.6',
install_requires=[
'sphinx'
],
Expand Down
5 changes: 2 additions & 3 deletions sphinx_math_dollar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

__all__ = ['split_dollars', 'setup', 'NODE_BLACKLIST']

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit e0a201f

Please sign in to comment.