diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..67a0730 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1 @@ +Copyright © Cryptlex LLP. All rights reserved. Use is subject to Cryptlex's [Terms of Service](https://docs.cryptlex.com/legal/terms-of-service). diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index a0b3bbd..0000000 --- a/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2025 Cryptlex LLP - -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. diff --git a/MANIFEST.in b/MANIFEST.in index 15d5668..66ba2dd 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,7 +2,8 @@ include README.md # Include the license file -include LICENSE.txt +include LICENSE.md +include THIRD_PARTY_NOTICES.txt # Include the data files recursive-include cryptlex/lexactivator/libs * \ No newline at end of file diff --git a/THIRD_PARTY_NOTICES.txt b/THIRD_PARTY_NOTICES.txt new file mode 100644 index 0000000..496db2a --- /dev/null +++ b/THIRD_PARTY_NOTICES.txt @@ -0,0 +1,105 @@ +Pygments +2.19.2 +BSD License +https://pygments.org + +certifi +2025.11.12 +Mozilla Public License 2.0 (MPL 2.0) +https://github.com/certifi/python-certifi + +charset-normalizer +3.4.4 +MIT +https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md + +docutils +0.22.3 +BSD License; GNU General Public License (GPL); Public Domain +https://docutils.sourceforge.io + +id +1.5.0 +Apache Software License +https://pypi.org/project/id/ + +idna +3.11 +BSD-3-Clause +https://github.com/kjd/idna + +jaraco.classes +3.4.0 +MIT License +https://github.com/jaraco/jaraco.classes + +jaraco.context +6.0.1 +MIT License +https://github.com/jaraco/jaraco.context + +jaraco.functools +4.3.0 +MIT +https://github.com/jaraco/jaraco.functools + +keyring +25.7.0 +MIT +https://github.com/jaraco/keyring + +markdown-it-py +4.0.0 +MIT License +https://github.com/executablebooks/markdown-it-py + +mdurl +0.1.2 +MIT License +https://github.com/executablebooks/mdurl + +more-itertools +10.8.0 +MIT +https://github.com/more-itertools/more-itertools + +nh3 +0.3.2 +MIT +UNKNOWN + +readme_renderer +44.0 +Apache Software License +UNKNOWN + +requests +2.32.5 +Apache Software License +https://requests.readthedocs.io + +requests-toolbelt +1.0.0 +Apache Software License +https://toolbelt.readthedocs.io/ + +rfc3986 +2.0.0 +Apache Software License +http://rfc3986.readthedocs.io + +rich +14.2.0 +MIT License +https://github.com/Textualize/rich + +twine +6.2.0 +Apache-2.0 +https://twine.readthedocs.io/ + +urllib3 +2.5.0 +MIT +https://github.com/urllib3/urllib3/blob/main/CHANGES.rst + diff --git a/pre-publish.py b/pre-publish.py index 3a21720..7b120b8 100644 --- a/pre-publish.py +++ b/pre-publish.py @@ -37,7 +37,9 @@ def main(): FileInfo('libs/clang/x86_64/libLexActivator.dylib', base_path + '/macos/x86_64/libLexActivator.dylib'), FileInfo('libs/clang/arm64/libLexActivator.dylib', - base_path + '/macos/arm64/libLexActivator.dylib') + base_path + '/macos/arm64/libLexActivator.dylib'), + FileInfo('THIRD-PARTY-NOTICES.txt', + base_path + '/THIRD-PARTY-NOTICES.txt') ] url = '/LexActivator-Mac.zip' download(base_url + lexactivator_libs_version + url, files) diff --git a/setup.cfg b/setup.cfg index ea565b8..542bd72 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,9 @@ [metadata] # This includes the license file(s) in the wheel. # https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file -license_files = LICENSE.txt +license_files = + LICENSE.md + THIRD_PARTY_NOTICES.txt [bdist_wheel] # This flag says to generate wheels that support both Python 2 and Python diff --git a/setup.py b/setup.py index 44b7b71..09ce741 100644 --- a/setup.py +++ b/setup.py @@ -15,11 +15,13 @@ packages=setuptools.find_packages(), package_data={'cryptlex': ['lexactivator/libs/win32/**/*.dll', 'lexactivator/libs/linux/**/**/*.so', 'lexactivator/libs/macos/**/*.dylib']}, keywords='cryptlex lexactivator licensing', + license='Proprietary', classifiers=[ "Programming Language :: Python :: 2", 'Programming Language :: Python :: 3', - "License :: OSI Approved :: MIT License", + "License :: Other/Proprietary License", 'Intended Audience :: Developers', "Operating System :: OS Independent", - ] + ], + include_package_data=True, ) \ No newline at end of file