Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
feat: Add support for as_constraint, remove deprecated methods, move …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Christopher-Chianelli authored Apr 9, 2024
1 parent d6ad7a1 commit eee0950
Show file tree
Hide file tree
Showing 41 changed files with 5,518 additions and 6,498 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ def find_stub_files(stub_root: str):
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent'
],
packages=['timefold.solver', 'timefold.solver.config', 'timefold.solver.constraint', 'timefold.solver.score',
'timefold.solver.types', 'timefold.solver.test', 'timefold.solver.valuerange',
packages=['timefold.solver', 'timefold.solver.api', 'timefold.solver.annotation',
'timefold.solver.config', 'timefold.solver.constraint', 'timefold.solver.score',
'timefold.solver.test', 'timefold.solver.valuerange',
'jpyinterpreter',
'java-stubs', 'jpype-stubs', 'ai-stubs'],
package_dir={
Expand Down
Loading

0 comments on commit eee0950

Please sign in to comment.