Skip to content

Commit

Permalink
include license in dist
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Jan 15, 2021
1 parent ab93893 commit 564d868
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 50 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Ryan S. Morshead
Copyright (c) 2021 Ryan S. Morshead

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include LICENSE
include README.md
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
url="https://github.com/rmorshea/spectate",
keywords=["eventful", "callbacks", "mutable", "MVC", "model", "view", "controller"],
platforms="Linux, Mac OS X, Windows",
package_data={"mypkg": [os.path.join("spectate", "py.typed")]},
include_package_data=True,
package_data={"spectate": [os.path.join("spectate", "py.typed")]},
)

# -----------------------------------------------------------------------------
Expand Down
24 changes: 0 additions & 24 deletions spectate/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# See End Of File For Licensing
from inspect import signature
from functools import wraps
from typing import (
Expand Down Expand Up @@ -428,26 +427,3 @@ def _remove_model_view(self, function: ViewFunction) -> None:
def _notify_model_views(self, events: TupleOfEvents):
for view in self._model_views:
view(self, events)


# The MIT License (MIT)

# Copyright (c) 2016 Ryan S. Morshead

# 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.
25 changes: 1 addition & 24 deletions spectate/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See End Of File For Licensing
# SEE END OF FILE FOR LICENSE

import inspect
import itertools
Expand Down Expand Up @@ -271,26 +271,3 @@ def _control_after_attr_change(self, answer, notify):
new = getattr(self, attr, Undefined)
if new != old:
notify(attr=attr, old=old, new=new)


# The MIT License (MIT)

# Copyright (c) 2016 Ryan S. Morshead

# 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.

0 comments on commit 564d868

Please sign in to comment.