first commit
This commit is contained in:
commit
147ce1091b
7 changed files with 49 additions and 0 deletions
19
LICENCE
Normal file
19
LICENCE
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Copyright (c) 2018 The Python Packaging Authority
|
||||||
|
|
||||||
|
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
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Example Package
|
||||||
|
|
||||||
|
This is a simple example package. You can use
|
||||||
|
[GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
|
||||||
|
to write your content.
|
BIN
dist/hello_package-0.0.1-py3-none-any.whl
vendored
Normal file
BIN
dist/hello_package-0.0.1-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
dist/hello_package-0.0.1.tar.gz
vendored
Normal file
BIN
dist/hello_package-0.0.1.tar.gz
vendored
Normal file
Binary file not shown.
22
pyproject.toml
Normal file
22
pyproject.toml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "hello_package"
|
||||||
|
version = "0.0.1"
|
||||||
|
authors = [
|
||||||
|
{ name="Example Author", email="author@example.com" },
|
||||||
|
]
|
||||||
|
description = "A small example package"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.7"
|
||||||
|
classifiers = [
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
"Homepage" = "https://github.com/pypa/sampleproject"
|
||||||
|
"Bug Tracker" = "https://github.com/pypa/sampleproject/issues"
|
0
src/hello_package/__init__.py
Normal file
0
src/hello_package/__init__.py
Normal file
3
src/hello_package/hello.py
Normal file
3
src/hello_package/hello.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
def add_one(number):
|
||||||
|
return number + 1
|
Loading…
Reference in a new issue