Skip to content

Commit

Permalink
Rework LICENSE files for GitHub
Browse files Browse the repository at this point in the history
Hopefully this is still clear and will show up better in the GitHub UI.
  • Loading branch information
gilch committed Jul 28, 2024
1 parent bd2d101 commit ae3cd85
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
16 changes: 11 additions & 5 deletions COPYING.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
This repository is licensed Apache-2.0 except for
the docs/ directory which is mostly licensed CC-BY-SA-4.0 instead.
Which license applies is noted inside each file near the top.
# Notice Regarding Separate Licensing of Documentation #

See the setup/LICENSE.txt and docs/CC-BY-SA-4.0.txt files for the full text of each license.
See LICENSE.txt for the full text of the Apache-2.0 license.
See docs/LICENSE.txt for the full text of the CC-BY-SA-4.0 license.

The docs/hissp.svg and docs/H.svg logos are trademarks.
Apache-2.0 applies to most of the repository, but CC-BY-SA-4.0 applies
to most of the files in the docs/ directory. Check the individual files;
which license applies is noted inside each near the top.

The docs/hissp.svg and docs/H.svg logos are trademarks.

(Hissp package-only distributions do not include the extra documentation
or this notice.)
File renamed without changes.
File renamed without changes.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
# Copyright 2019, 2020, 2021, 2022, 2023 Matthew Egan Odendahl
# SPDX-License-Identifier: Apache-2.0
import os
import shutil
import sys

import setuptools

os.chdir("setup")
os.makedirs("setup", exist_ok=True)
shutil.copy("LICENSE.txt", "setup/LICENSE.txt")

with open("../README.md", encoding="utf8") as f:
with open("README.md", encoding="utf8") as f:
long_description = f.read()

os.chdir("setup")

sys.path.insert(0, "../src")
import hissp

Expand Down

0 comments on commit ae3cd85

Please sign in to comment.