Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
ca98039
Lint setup.py
juliannguyen4 Oct 19, 2022
73e47c6
Format setup.py using linter
juliannguyen4 Oct 19, 2022
bda2345
Append to list instead of reassigning
juliannguyen4 Oct 19, 2022
14adb53
Get all C source files under src/main
juliannguyen4 Oct 19, 2022
b801432
Use named args
juliannguyen4 Oct 19, 2022
c830624
Remove unused var
juliannguyen4 Oct 19, 2022
5c970bf
Use the newer subprocess.run
juliannguyen4 Oct 19, 2022
c70b65a
Remove README.rst from MANIFEST.in
juliannguyen4 Dec 1, 2022
d9b4fea
Refactor openssl linking code
juliannguyen4 Dec 1, 2022
a473a63
Clean up EVENT_LIB check
juliannguyen4 Dec 1, 2022
8589a1c
Merge remote-tracking branch 'origin/dev' into CLIENT-1915-setup-py-r…
juliannguyen4 Sep 2, 2025
e3258cb
unused
juliannguyen4 Sep 2, 2025
568b34c
Refer to LICENSE file
juliannguyen4 Sep 2, 2025
d8efd1d
Merge remote-tracking branch 'origin/dev' into CLIENT-1915-setup-py-r…
juliannguyen4 Sep 9, 2025
3e906b6
C client doesn't have this
juliannguyen4 Sep 9, 2025
c69176b
Fix setuptools deprecated warning
juliannguyen4 Sep 9, 2025
fdca150
dead import
juliannguyen4 Sep 9, 2025
acd2b81
Omit flags not supported by windows
juliannguyen4 Sep 9, 2025
91fc3cf
fix
juliannguyen4 Sep 10, 2025
524ef32
fix
juliannguyen4 Sep 15, 2025
c210030
Use setuptool's updated Command build class
juliannguyen4 Sep 15, 2025
6de7d40
todo...
juliannguyen4 Sep 16, 2025
f11f01d
Linux and darwin use different env vars to find dlls
juliannguyen4 Sep 16, 2025
0201450
Windows-only: skip building examples to speed up compilation
juliannguyen4 Sep 16, 2025
04892f4
setuptools doesn't document self.execute(), so don't use... TODO chec…
juliannguyen4 Sep 16, 2025
9896c3a
Rename since we are also building python client c code
juliannguyen4 Sep 16, 2025
f3dd34e
explain how repair proc works
juliannguyen4 Sep 16, 2025
0da182b
rm dup vars
juliannguyen4 Sep 16, 2025
1bbf905
dead code. long description already provided by README in pyproject.toml
juliannguyen4 Sep 16, 2025
25351c8
zip-safe already obsolete
juliannguyen4 Sep 16, 2025
b54b234
Read VERSION file using pyproject.toml instead of setup.py
juliannguyen4 Sep 16, 2025
64b149e
Move more static metadata to pyproject.toml
juliannguyen4 Sep 16, 2025
72fe02f
rm dup
juliannguyen4 Sep 16, 2025
b8081e4
Nothing in Python client c code uses DEBUG macro
juliannguyen4 Sep 16, 2025
348d43c
Flag doesnt do anything. it was removed from c client in 2017
juliannguyen4 Sep 16, 2025
5c66bec
formatting
juliannguyen4 Sep 16, 2025
94148bc
include-package-data will automatically include pyi files
juliannguyen4 Sep 16, 2025
edd6c93
Merge remote-tracking branch 'origin/dev' into CLIENT-1915-setup-py-r…
juliannguyen4 Sep 24, 2025
6ed7608
Remove hardcoded paths where users may install a 3rd party openssl th…
juliannguyen4 Sep 24, 2025
aaab1f6
Merge remote-tracking branch 'origin/dev' into CLIENT-1915-setup-py-r…
juliannguyen4 Oct 24, 2025
7070767
Merge remote-tracking branch 'origin/dev' into CLIENT-1915-setup-py-r…
juliannguyen4 Oct 30, 2025
204ffe8
lint setup.py
juliannguyen4 Oct 30, 2025
919f0e0
Just get include files from submodule's source code. it should be the…
juliannguyen4 Oct 30, 2025
bbc33b1
C client header files can be read from C client source code directly …
juliannguyen4 Oct 31, 2025
a480f52
Setuptools already looks for include dirs in CPATH, so dont need to i…
juliannguyen4 Oct 31, 2025
a797b2d
ARCHFLAGS env var is macos-specific
juliannguyen4 Oct 31, 2025
3137c31
Cleanup comment. can probably remove because the c client shouldn't d…
juliannguyen4 Nov 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ filename =
./aerospike_helpers/**/*.py,
./test/new_tests/**/*.py
./test/standalone/**/*.py
./setup.py
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
- id: debug-statements
# Only run on files specified in .flake8
pass_filenames: false
files: "^(aerospike_helpers|test)/"
files: "^(aerospike_helpers|test|setup.py)/"
types: ["file", "python"]
- id: end-of-file-fixer

Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
include README.rst
include LICENSE
include VERSION
recursive-include aerospike-client-c *
recursive-include scripts *
recursive-include src *
include modules/aerospike-lua-core/src/*.lua
global-include *.pyi
global-include *.typed
include custom-versionit-format.py
16 changes: 13 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ authors = [
{name = "Aerospike, Inc.", email = "[email protected]"}
]
readme = "README.rst"
license = {text = "Apache Software License"}
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = ["aerospike", "nosql", "database"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
Expand All @@ -36,8 +36,18 @@ dynamic = ["version"]
"Homepage" = "https://aerospike.com"

[tool.setuptools]
zip-safe = false
include-package-data = true
packages = [
"aerospike_helpers",
"aerospike_helpers.operations",
"aerospike_helpers.batch",
"aerospike_helpers.expressions",
"aerospike_helpers.metrics",
"aerospike-stubs"
]

[tool.setuptools.dynamic]
version = {file = ["VERSION"]}

[tool.versioningit]

Expand Down
Loading