Skip to content

Commit eee0950

Browse files
feat: Add support for as_constraint, remove deprecated methods, move types to subpackages (#30)
- Removed old penalize(constraint_name, ...) overloads - Removed camelCase names for Joiners and ConstraintCollectors - Made valuerange and score lazily load types that require the JVM to be started - Import all subpackages inside the main package so users do not need to import a specific subpackage to use its contents - Move all classes to specific tempoarily packages. The packages of the classes may change at a later date, but doing this make it easier to do the refactor - Split up large code files into multiple smaller files - Deleted the no longer applicable cloning test - Use star import in tests
1 parent d6ad7a1 commit eee0950

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+5518
-6498
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ def find_stub_files(stub_root: str):
9797
'License :: OSI Approved :: Apache Software License',
9898
'Operating System :: OS Independent'
9999
],
100-
packages=['timefold.solver', 'timefold.solver.config', 'timefold.solver.constraint', 'timefold.solver.score',
101-
'timefold.solver.types', 'timefold.solver.test', 'timefold.solver.valuerange',
100+
packages=['timefold.solver', 'timefold.solver.api', 'timefold.solver.annotation',
101+
'timefold.solver.config', 'timefold.solver.constraint', 'timefold.solver.score',
102+
'timefold.solver.test', 'timefold.solver.valuerange',
102103
'jpyinterpreter',
103104
'java-stubs', 'jpype-stubs', 'ai-stubs'],
104105
package_dir={

0 commit comments

Comments
 (0)