Commit d299a286 authored by Simon Sebastian Humpohl's avatar Simon Sebastian Humpohl
Browse files

fix stupid errors

parent 8be1b714
......@@ -11,18 +11,19 @@ def extract_version(version_file):
raise RuntimeError("Unable to find version string.")
root_dir = os.path.basename(__file__)
root_dir = os.path.dirname(__file__)
version_file = os.path.join(root_dir, 'qutil', '__init__.py')
with open("README.md", "r") as fh:
long_description = fh.read()
with open(os.path.join(root_dir, 'qutil', '__init__.py'), 'r') as init_file:
with open(version_file, 'r') as init_file:
init_file_content = init_file.read()
setup(name='qutil',
version=extract_version(os.path.join('qutil')),
version=extract_version(init_file_content),
description='Utility package of the Quantum Technology group of RWTH Aachen',
long_description=long_description,
long_description_content_type="text/markdown",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment