Skip to content

Commit

Permalink
Fixed issue with RTD
Browse files Browse the repository at this point in the history
- Fixed RTD issue involving new pip version
  • Loading branch information
not-na committed Apr 7, 2020
1 parent 6dcc356 commit 2e87ad0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
9 changes: 0 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,6 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
"peng3d_sphinxext",
]

try:
import pip
installed_packages = pip.get_installed_distributions()
flat_installed_packages = [package.project_name for package in installed_packages]
if "sphinxcontrib-spelling" in flat_installed_packages and "pyenchant" in flat_installed_packages:
extensions.append("sphinxcontrib.spelling")
except ImportError:
pass # May happen if pip is not installed

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
2 changes: 1 addition & 1 deletion peng3dnet/ext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
#

from . import ping

from . import mpgame
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@

# Distribution command:
# sudo python setup.py install sdist bdist register upload
# NEW:
# python setup.py sdist bdist bdist_egg bdist_wheel
# outside venv:
# twine upload dist/*

import imp

Expand Down

0 comments on commit 2e87ad0

Please sign in to comment.