Skip to content

Commit

Permalink
Fix README inclusion in package
Browse files Browse the repository at this point in the history
Previously breaking the PYPI uploads
  • Loading branch information
ianhbell committed Aug 10, 2024
1 parent 12a0f09 commit 294af50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,18 @@ def build_extension(self, ext):
print('cmake build command:', ' '.join(build_elements))
subprocess.check_call(build_elements, cwd=self.build_temp)

from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

setup(
name='teqp',
version=VERSION,
author='Ian Bell and friends',
author_email='[email protected]',
description='Templated EQuation of state Package',
long_description='',
long_description=long_description,
long_description_content_type='text/markdown',
ext_modules=[CMakeExtension('teqp.teqp')], # teqp.teqp is the extension module that lives inside the teqp package
packages=['teqp','teqp.fluiddata.dev.fluids','teqp.fluiddata.dev.mixtures'],
include_package_data=True,
Expand Down

0 comments on commit 294af50

Please sign in to comment.