Skip to content

Commit

Permalink
fix version in setup.py (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorlicious authored Nov 8, 2021
1 parent f2ef56b commit aed1834
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pathlib import Path
from setuptools import find_namespace_packages, setup
import gpflux.version


requirements = [
"deprecated",
Expand All @@ -16,11 +16,12 @@
with open("README.md", "r") as file:
long_description = file.read()

version = gpflux.version.__version__
with open(Path(__file__).parent / "gpflux" / "version.py", "r") as version_file:
exec(version_file.read())

setup(
name="gpflux",
version=version,
version=__version__,
author="Secondmind Labs",
author_email="[email protected]",
long_description=long_description,
Expand Down

0 comments on commit aed1834

Please sign in to comment.