Skip to content

Commit

Permalink
Add entrypoints for the composites and samplers
Browse files Browse the repository at this point in the history
  • Loading branch information
arcondello committed Dec 27, 2018
1 parent b0469a2 commit 23d60d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@
'Programming Language :: Python :: 3.7',
]

entry_points = {'dwave.samplers': ['ExactSolver = dimod:ExactSolver',
'RandomSampler = dimod:RandomSampler',
],
'dwave.composites': ['StructureComposite = dimod:StructureComposite',
'SpinReversalTransformComposite = dimod:SpinReversalTransformComposite',
'FixedVariableComposite = dimod:FixedVariableComposite',
]}

python_requires = '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*'

try:
Expand Down Expand Up @@ -158,6 +166,7 @@ def run_setup(cpp):
classifiers=classifiers,
zip_safe=False,
python_requires=python_requires,
entry_points=entry_points,
**kw
)

Expand Down

0 comments on commit 23d60d8

Please sign in to comment.