-
Notifications
You must be signed in to change notification settings - Fork 13
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 #9 from loicteixeira/release/v0.1
Release v0.1
- Loading branch information
Showing
5 changed files
with
62 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## [Unreleased](https://github.com/tomdyson/wagtail-netlify/compare/v0.1...HEAD) | ||
|
||
## [v0.1](https://github.com/tomdyson/wagtail-netlify/compare/f8f45701f43e28e238fc64aceea07dd1900343fc...v0.1) | ||
|
||
Initial Release |
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,4 @@ | ||
include LICENSE *.md | ||
graft wagtailnetlify | ||
global-exclude __pycache__ | ||
global-exclude *.py[co] |
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,23 @@ | ||
.PHONY: build help publish publish-test | ||
.DEFAULT_GOAL := help | ||
|
||
help: ## See what commands are available. | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36mmake %-15s\033[0m # %s\n", $$1, $$2}' | ||
|
||
build: ## Build the package. | ||
@echo '== Cleanup ==' | ||
rm dist/* 2>/dev/null || true | ||
@echo '== Build project ==' | ||
python setup.py sdist | ||
|
||
publish: build ## Publishes a new version to PyPI. | ||
@echo '== Publish project to PyPi ==' | ||
twine upload dist/* | ||
@echo '== Success ==' | ||
@echo 'Go to https://pypi.org/project/wagtailnetlify/ and check that all is well.' | ||
|
||
publish-test: build ## Publishes a new version to TestPyPI. | ||
@echo '== Publish project to PyPi [TEST] ==' | ||
twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
@echo '== Success ==' | ||
@echo 'Go to https://test.pypi.org/project/wagtailnetlify/ and check that all is well.' |
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,22 +1,28 @@ | ||
from setuptools import setup, find_packages | ||
from wagtailnetlify import __version__ | ||
|
||
with open('README.md', 'r') as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name='wagtailnetlify', | ||
version=__version__, | ||
description='Deploy Wagtail sites to Netlify', | ||
long_description='See https://github.com/tomdyson/wagtail-netlify for details', | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url='https://github.com/tomdyson/wagtail-netlify', | ||
author='Tom Dyson', | ||
author_email='[email protected]', | ||
license='MIT', | ||
classifiers=[ | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Framework :: Wagtail", | ||
"Framework :: Wagtail :: 1", | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
'Topic :: Internet :: WWW/HTTP', | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", | ||
], | ||
keywords='development', | ||
|
@@ -27,4 +33,4 @@ | |
"wagtail>=1.6", | ||
"wagtail-bakery>=0.1.0" | ||
], | ||
) | ||
) |