Skip to content

Commit b35bae2

Browse files
committed
Start to fix packaging
1 parent 168b11e commit b35bae2

File tree

4 files changed

+37
-13
lines changed

4 files changed

+37
-13
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020-2022 David A. Ham
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

doc/source/3_objects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ observed that objects of some classes can be added. Is this true for
618618
619619
TypeError: unsupported operand type(s) for +: 'Polynomial' and 'Polynomial'
620620
621-
Of course, once again this is not so surprising since we haven't
621+
Once again, this is not so surprising since we haven't
622622
defined what addition of polynomials should mean. The :term:`special
623623
method` which defines addition is :meth:`~object.__add__`. It takes the
624624
object itself and another object and returns their sum. That is,

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build-system]
2+
required = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "oo-programming-exercises"
7+
version = 2022.0
8+
authors = [
9+
{ name="David A. Ham", "David.Ham@imperial.ac.uk" },
10+
]
11+
description=("Code for Object oriented programming "
12+
"in Python for mathematicians.")
13+
14+
[project.urls]
15+
"Homepage" = "https://object-oriented-python.github.io/"

setup.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)