Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated versioneer. Closes #27 #28

Merged
merged 3 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from 2 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
8 changes: 4 additions & 4 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.0-alpha.2']

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 All @@ -26,5 +26,5 @@ jobs:
pyflakes .
- name: Test with pytest
run: |
pip install pytest pytest-doctestplus sphinx-testing
pip install pytest pytest-doctestplus
pytest
12 changes: 12 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
import pytest
from sphinx.testing.path import path


try:
import pytest_doctestplus.plugin
pytest_doctestplus
except ImportError:
raise ImportError("Install pytest-doctestplus to run the tests")


pytest_plugins = 'sphinx.testing.fixtures'


@pytest.fixture(scope='session')
def rootdir():
return path(__file__).parent.abspath() / 'sphinx_math_dollar' / 'tests'
Empty file added docs/__init__.py
Empty file.
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