Skip to content

Commit

Permalink
hardcode version due to pypa/pip#6469
Browse files Browse the repository at this point in the history
  • Loading branch information
camillol committed Apr 17, 2024
1 parent 3823371 commit 2f204f5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
)

python_requires = ">=3.8"
setup_requires = ["setuptools_scm"]
# setup_requires = ["setuptools_scm"]
setup_requires = []
install_requires = [
"databases[postgresql]>=0.5.4,<1.0.0",
"ormar>=0.10.24,<1.0.0",
Expand Down Expand Up @@ -60,11 +61,12 @@ def version_scheme(v):
url="https://github.com/tophat/ormar-postgres-extensions",
long_description=readme(),
long_description_content_type="text/markdown",
use_scm_version={
"local_scheme": lambda _: "",
"version_scheme": version_scheme,
"write_to": "version.txt",
},
# use_scm_version={
# "local_scheme": lambda _: "",
# "version_scheme": version_scheme,
# "write_to": "version.txt",
# },
version="2.3.0+pydantic2",
package_dir={"": "src"},
package_data={"": ["VERSION"]},
packages=find_packages("./src"),
Expand Down

0 comments on commit 2f204f5

Please sign in to comment.