Skip to content

Commit

Permalink
format setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
doichanj committed Jul 6, 2023
1 parent 2dd3abb commit 2fa0d45
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
import setuptools
from skbuild import setup


PACKAGE_NAME = os.getenv("QISKIT_AER_PACKAGE_NAME", "qiskit-aer")
CUDA_MAJOR = os.getenv("QISKIT_AER_CUDA_MAJOR", "12")


extras_requirements = {"dask": ["dask", "distributed"]}

requirements = [
Expand All @@ -22,7 +20,7 @@
"scipy>=1.0",
]

classifiers=[
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
Expand All @@ -40,8 +38,8 @@
"Topic :: Scientific/Engineering",
]

if 'gpu' in PACKAGE_NAME:
if '11' in CUDA_MAJOR:
if "gpu" in PACKAGE_NAME:
if "11" in CUDA_MAJOR:
requirements_cuda = [
"nvidia-cuda-runtime-cu11>=11.8.89",
"nvidia-cublas-cu11>=11.11.3.6",
Expand Down

0 comments on commit 2fa0d45

Please sign in to comment.