Skip to content

Commit

Permalink
Set version in pyproject.toml and remove VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed May 28, 2024
1 parent cc53ebe commit 33762cf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include README.rst
include LICENSE
include VERSION
recursive-include aerospike-client-c *
recursive-include scripts *
recursive-include src *
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "aerospike"
description = "Aerospike Client Library for Python"
version = "14.0.0"
authors = [
{name = "Aerospike, Inc.", email = "[email protected]"}
]
Expand All @@ -29,7 +30,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Database"
]
dynamic = ["version"]

[project.urls]
"Homepage" = "https://aerospike.com"
Expand Down
5 changes: 0 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@
with io.open(os.path.join(CWD, 'README.rst'), "r", encoding='utf-8') as f:
long_description = f.read()

# Get the version from the relevant file
with io.open(os.path.join(CWD, 'VERSION'), "r", encoding='utf-8') as f:
version = f.read()

BASEPATH = os.path.dirname(os.path.abspath(__file__))
CCLIENT_PATH = os.path.join(BASEPATH, 'aerospike-client-c')

Expand Down Expand Up @@ -277,7 +273,6 @@ def clean():


setup(
version=version.strip(),
# Data files
ext_modules=[
Extension(
Expand Down

0 comments on commit 33762cf

Please sign in to comment.