Skip to content

Commit

Permalink
Fix setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsSR committed May 16, 2024
1 parent 3ccf2d8 commit 87e4cad
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import re
from setuptools import setup

# with open("requirements.txt") as f:
# requirements = f.read().splitlines()


def get_version():
with open("src/fastfiz_env/__init__.py", "r") as f:
with open("fastfiz_env/__init__.py", "r") as f:
for line in f:
match = re.match(r"__version__\s*=\s*['\"]([^'\"]+)['\"]", line)
if match:
Expand All @@ -16,8 +12,4 @@ def get_version():

setup(
version=get_version(),
# install_requires=requirements,
# test_requires=["pytest"],
# packages=find_packages(where="src"),
# package_dir={"": "src"},
)

0 comments on commit 87e4cad

Please sign in to comment.