Prep for 0.0.1

This commit is contained in:
Phil Howard
2019-01-21 12:49:51 +00:00
parent 8f17fa8673
commit 6f01a4dbb9
5 changed files with 45 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
.PHONY: usage install uninstall
usage:
@echo "Usage: make <target>, where target is one of:\n"
@echo "install: install the library locally from source"
@echo "uninstall: uninstall the local library"
@echo "install: install the library locally from source"
@echo "uninstall: uninstall the local library"
@echo "python-readme: generate library/README.rst from README.md"
@echo "python-wheels: build python .whl files for distribution"
@echo "python-sdist: build python source distribution"
@@ -42,3 +42,6 @@ python-dist: python-clean python-wheels python-sdist
python-deploy: python-dist
twine upload library/dist/*
python-deploy-test: python-dist
twine upload --repository-url https://test.pypi.org/legacy/ library/dist/*

4
library/CHANGELOG.txt Normal file
View File

@@ -0,0 +1,4 @@
0.0.1
-----
* Initial Release

21
library/LICENSE.txt Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Pimoroni Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

5
library/MANIFEST.in Normal file
View File

@@ -0,0 +1,5 @@
include CHANGELOG.txt
include LICENSE.txt
include README.rst
include setup.py
recursive-include ST7735 *.py

View File

@@ -10,10 +10,13 @@ classifiers = ['Development Status :: 4 - Beta',
'Topic :: Software Development',
'Topic :: System :: Hardware']
setup(name = 'ST7735',
version = '0.0.1',
description = 'Library to control an ST7735 168x80 TFT LCD display.',
license = 'MIT',
classifiers = classifiers,
url = 'https://github.com/pimoroni/st7735-160x80-python/',
packages = find_packages())
setup(name='ST7735',
version='0.0.1',
description='Library to control an ST7735 168x80 TFT LCD display.',
long_description=open('README.rst').read() + '\n' + open('CHANGELOG.txt').read(),
license='MIT',
author='Philip Howard',
author_email='phil@pimoroni.com',
classifiers=classifiers,
url='https://github.com/pimoroni/st7735-160x80-python/',
packages=find_packages())