forked from elastic/rally
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move version source of truth to esrally/_version.py (elastic#1351)
- Loading branch information
Showing
10 changed files
with
28 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
|
||
python: | ||
version: "3.8" | ||
install: | ||
- method: pip | ||
path: . | ||
|
||
sphinx: | ||
fail_on_warning: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "2.3.1.dev0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
# under the License. | ||
|
||
from os.path import join, dirname | ||
import re | ||
|
||
try: | ||
from setuptools import setup, find_packages | ||
|
@@ -29,10 +30,8 @@ def str_from_file(name): | |
return f.read().strip() | ||
|
||
|
||
raw_version = str_from_file("version.txt") | ||
VERSION = raw_version.split(".") | ||
__version__ = VERSION | ||
__versionstr__ = raw_version | ||
raw_version = str_from_file("esrally/_version.py") | ||
version = re.match(r'__version__ = "(.+)"', raw_version).group(1) | ||
|
||
long_description = str_from_file("README.rst") | ||
|
||
|
@@ -122,7 +121,7 @@ def str_from_file(name): | |
setup(name="esrally", | ||
maintainer="Daniel Mitterdorfer", | ||
maintainer_email="[email protected]", | ||
version=__versionstr__, | ||
version=version, | ||
description="Macrobenchmarking framework for Elasticsearch", | ||
long_description=long_description, | ||
url="https://github.com/elastic/rally", | ||
|
This file was deleted.
Oops, something went wrong.