Skip to content

Commit

Permalink
Fixes after merge. Add source for build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav sokolov committed Jan 3, 2023
1 parent 2114363 commit 23def23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://stackoverflow.com/questions/63679315/how-to-use-cython-with-poetry
import os

# See if Cython is installed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "youtokentome"
version = "1.0.7"
version = "1.0.7" # Also presented in setup.py
description = "FL version of YTTM"
license = "MIT"
authors = ["Ivan Belonogov"]
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@


def setup_version() -> str:
version_prefix = "1.0"
version = os.environ.get("BUILD_NUMBER") if bool(os.environ.get("TEAMCITY_VERSION")) else "SNAPSHOT"
# return version_prefix + "." + version
return "1.0.7"

return "1.0.7" # Also presented in pyproject.toml


extensions = [
Expand Down

0 comments on commit 23def23

Please sign in to comment.