Skip to content

Commit fa3330a

Browse files
committed
Updated versioning support.
1 parent da55d86 commit fa3330a

File tree

3 files changed

+14
-182
lines changed

3 files changed

+14
-182
lines changed

codeflare/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = '1.0.0'
16+
__version__ = '0.1.0.dev0'

example-cluster.yaml.template

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

setup.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
# limitations under the License.
1515
#
1616

17+
import os
18+
import sys
19+
20+
from glob import glob
1721
from setuptools import setup
1822

1923
long_description = '''The CodeFlare-Pipelines library provides facilities for defining and running parallel
@@ -24,17 +28,23 @@
2428
[https://github.com/project-codeflare/codeflare](https://github.com/project-codeflare/codeflare).
2529
'''
2630

31+
here = os.path.abspath(os.path.dirname(__file__))
32+
33+
version_ns = {}
34+
with open(os.path.join(here, 'codeflare', '_version.py')) as f:
35+
exec(f.read(), {}, version_ns)
36+
2737
setup(
2838
name='codeflare',
29-
version='1.0.0',
39+
version=version_ns['__version__'],
3040
packages=['codeflare', 'codeflare.pipelines', 'codeflare.pipelines.tests'],
3141
install_requires=[
3242
'ray[default,serve,k8s]>=1.3.0'
3343
],
3444
url='https://github.com/project-codeflare/codeflare',
3545
license='Apache v2.0',
36-
author='Raghu Ganti, Mudhakar Srivatsa, Carlos Costa',
37-
author_email='rganti@us.ibm.com',
46+
author='CodeFlare team',
47+
author_email='chcost@us.ibm.com',
3848
description='Codeflare pipelines',
3949
python_requires='>=3.8',
4050
keywords=("ray pipelines"),

0 commit comments

Comments
 (0)