Skip to content

Commit 265d7d8

Browse files
Huzaif Mushtaq MirHuzaif Mushtaq Mir
authored andcommitted
feat: add LICENSE.md, THIRD_PARTY_LICENSE.txt
1 parent 275c291 commit 265d7d8

7 files changed

Lines changed: 153 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: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
Pygments
2+
2.19.2
3+
BSD License
4+
Georg Brandl <georg@python.org>
5+
https://pygments.org
6+
7+
certifi
8+
2025.11.12
9+
Mozilla Public License 2.0 (MPL 2.0)
10+
Kenneth Reitz
11+
https://github.com/certifi/python-certifi
12+
13+
charset-normalizer
14+
3.4.4
15+
MIT
16+
"Ahmed R. TAHRI" <tahri.ahmed@proton.me>
17+
https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md
18+
19+
docutils
20+
0.22.3
21+
BSD License; GNU General Public License (GPL); Public Domain
22+
David Goodger <goodger@python.org>
23+
https://docutils.sourceforge.io
24+
25+
id
26+
1.5.0
27+
Apache Software License
28+
UNKNOWN
29+
https://pypi.org/project/id/
30+
31+
idna
32+
3.11
33+
BSD-3-Clause
34+
Kim Davies <kim+pypi@gumleaf.org>
35+
https://github.com/kjd/idna
36+
37+
jaraco.classes
38+
3.4.0
39+
MIT License
40+
Jason R. Coombs
41+
https://github.com/jaraco/jaraco.classes
42+
43+
jaraco.context
44+
6.0.1
45+
MIT License
46+
"Jason R. Coombs" <jaraco@jaraco.com>
47+
https://github.com/jaraco/jaraco.context
48+
49+
jaraco.functools
50+
4.3.0
51+
MIT
52+
"Jason R. Coombs" <jaraco@jaraco.com>
53+
https://github.com/jaraco/jaraco.functools
54+
55+
keyring
56+
25.7.0
57+
MIT
58+
Kang Zhang <jobo.zh@gmail.com>
59+
https://github.com/jaraco/keyring
60+
61+
markdown-it-py
62+
4.0.0
63+
MIT License
64+
Chris Sewell <chrisj_sewell@hotmail.com>
65+
https://github.com/executablebooks/markdown-it-py
66+
67+
mdurl
68+
0.1.2
69+
MIT License
70+
Taneli Hukkinen <hukkin@users.noreply.github.com>
71+
https://github.com/executablebooks/mdurl
72+
73+
more-itertools
74+
10.8.0
75+
MIT
76+
Erik Rose <erikrose@grinchcentral.com>
77+
https://github.com/more-itertools/more-itertools
78+
79+
nh3
80+
0.3.2
81+
MIT
82+
messense <messense@icloud.com>
83+
UNKNOWN
84+
85+
packaging
86+
25.0
87+
Apache Software License; BSD License
88+
Donald Stufft <donald@stufft.io>
89+
https://github.com/pypa/packaging
90+
91+
pipdeptree
92+
2.30.0
93+
MIT
94+
UNKNOWN
95+
https://github.com/tox-dev/pipdeptree
96+
97+
readme_renderer
98+
44.0
99+
Apache Software License
100+
The Python Packaging Authority <admin@mail.pypi.org>
101+
UNKNOWN
102+
103+
requests
104+
2.32.5
105+
Apache Software License
106+
Kenneth Reitz
107+
https://requests.readthedocs.io
108+
109+
requests-toolbelt
110+
1.0.0
111+
Apache Software License
112+
Ian Cordasco, Cory Benfield
113+
https://toolbelt.readthedocs.io/
114+
115+
rfc3986
116+
2.0.0
117+
Apache Software License
118+
Ian Stapleton Cordasco
119+
http://rfc3986.readthedocs.io
120+
121+
rich
122+
14.2.0
123+
MIT License
124+
Will McGugan
125+
https://github.com/Textualize/rich
126+
127+
twine
128+
6.2.0
129+
Apache-2.0
130+
Donald Stufft and individual contributors <donald@stufft.io>
131+
https://twine.readthedocs.io/
132+
133+
urllib3
134+
2.6.2
135+
MIT
136+
Andrey Petrov <andrey.petrov@shazow.net>
137+
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst
138+

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)