Skip to content

Commit

Permalink
trying to fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kisnikser committed Dec 3, 2024
1 parent dcf1bd6 commit 3699ef5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
import io
import os
import sys
from setuptools import setup
from setuptools import setup, find_packages

version_info = {}
with open(os.path.join("src", "relaxit", "_version.py")) as f:
exec(f.read(), version_info)

def read(file_path):
with io.open(file_path, "r", encoding="utf-8") as f:
return f.read()

try:
long_description = open("README.md", encoding="utf-8").read()
except Exception as e:
Expand All @@ -28,7 +24,7 @@ def read(file_path):
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/intsystems/discrete-variables-relaxation",
packages=["relaxit"],
package_dir={"relaxit": "src/relaxit"},
package_dir= {"" : "src"} ,
packages=find_packages(where="src"),
install_requires=["pyro-ppl==1.9.1"],
)

0 comments on commit 3699ef5

Please sign in to comment.