Skip to content

Commit ed93baa

Browse files
authored
Merge pull request #33 from cryptlex/huzaif/add-license
feat: add LICENSE.md, THIRD_PARTY_LICENSE.txt
2 parents 62bca2e + 451fd08 commit ed93baa

7 files changed

Lines changed: 380 additions & 28 deletions

File tree

LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copyright © Cryptlex LLP. All rights reserved. Use is subject to Cryptlex's [Terms of Service](https://docs.cryptlex.com/legal/terms-of-service).

LICENSE.txt

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

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
include README.md
33

44
# Include the license file
5-
include LICENSE.txt
5+
include LICENSE.md
6+
include THIRD-PARTY-NOTICES.txt
67

78
# Include the data files
89
recursive-include cryptlex/lexfloatclient/libs *

THIRD-PARTY-NOTICES.txt

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.

pre-publish.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ def main():
3434

3535
files = [
3636
FileInfo('libs/clang/x86_64/libLexFloatClient.dylib',
37-
base_path + '/macos/x86_64/libLexFloatClient.dylib'),
37+
base_path + '/macos/x86_64/libLexFloatClient.dylib'),
3838
FileInfo('libs/clang/arm64/libLexFloatClient.dylib',
39-
base_path + '/macos/arm64/libLexFloatClient.dylib')
40-
]
39+
base_path + '/macos/arm64/libLexFloatClient.dylib'),
40+
FileInfo('THIRD-PARTY-NOTICES.txt',
41+
base_path + '/THIRD-PARTY-NOTICES.txt')
42+
]
4143
url = '/LexFloatClient-Mac.zip'
4244
download(base_url + lexfloatclient_libs_version + url, files)
4345

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[metadata]
22
# This includes the license file(s) in the wheel.
33
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
4-
license_files = LICENSE.txt
4+
license_files =
5+
LICENSE.md
6+
THIRD-PARTY-NOTICES.txt
57

68
[bdist_wheel]
79
# This flag says to generate wheels that support both Python 2 and Python

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
packages=setuptools.find_packages(),
1616
package_data={'cryptlex': ['lexfloatclient/libs/win32/**/*.dll', 'lexfloatclient/libs/linux/**/**/*.so', 'lexfloatclient/libs/macos/**/*.dylib']},
1717
keywords='cryptlex lexfloatclient licensing',
18+
license='Proprietary',
1819
classifiers=[
1920
"Programming Language :: Python :: 2",
2021
'Programming Language :: Python :: 3',
21-
"License :: OSI Approved :: MIT License",
22+
"License :: Other/Proprietary License",
2223
'Intended Audience :: Developers',
2324
"Operating System :: OS Independent",
24-
]
25+
],
26+
include_package_data=True,
2527
)

0 commit comments

Comments
 (0)