This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from jwhitlock/update_2016
bug 950945: Update for 2016
- Loading branch information
Showing
9 changed files
with
586 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
*.sw[po] | ||
*.egg-info | ||
*.pyc | ||
dist | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
include README.rst mdn_theme/mdn/layout.html mdn_theme/mdn/theme.conf | ||
exclude Makefile | ||
exclude requirements.txt | ||
include LICENSE | ||
include README.rst | ||
include mdn_theme/mdn/layout.html | ||
include mdn_theme/mdn/theme.conf | ||
recursive-include mdn_theme/mdn/static * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.PHONY: help clean clean-pyc clean-build docs docs-fresh | ||
|
||
help: | ||
@echo "clean - remove build artifacts" | ||
@echo "sdist - package" | ||
@echo "test-release - package and upload a release to the test PyPI server" | ||
@echo "release - package and upload a release" | ||
|
||
clean: | ||
rm -fr build/ | ||
rm -fr dist/ | ||
rm -fr *.egg-info | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
find . -name '*~' -exec rm -f {} + | ||
|
||
sdist: clean | ||
python setup.py sdist | ||
ls -l dist | ||
check-manifest | ||
pyroma dist/`ls -t dist | head -n1` | ||
|
||
test-release: sdist | ||
python setup.py register -r https://testpypi.python.org/pypi | ||
python setup.py sdist bdist_wheel upload -r https://testpypi.python.org/pypi | ||
python -m webbrowser -n https://testpypi.python.org/pypi/mdn-sphinx-theme | ||
|
||
release: sdist | ||
python setup.py sdist bdist_wheel upload | ||
python -m webbrowser -n https://pypi.python.org/pypi/mdn-sphinx-theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import os | ||
|
||
__version__ = '2015.2' | ||
__version__ = '2016.0' | ||
|
||
here = os.path.dirname(__file__) | ||
|
||
|
||
def get_theme_dir(): | ||
return here |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Quality checks for the distribution files | ||
check-manifest==0.33 | ||
pyroma==2.0.2 | ||
|
||
# Build a wheel | ||
wheel==0.24.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters