1. 25 Sep, 2018 1 commit
    • Tjerk Vreeken's avatar
      Pin CasADi and Pymoca versions · 89ffc704
      Tjerk Vreeken authored
      These two packages are relatively unstable or known to make
      substantial (backwards-incompatible) changes. We therefore pin them to
      release series known/expected to work, while allowing bug fixes using a
      wildcard specifier.
      89ffc704
  2. 26 May, 2018 1 commit
    • Tjerk Vreeken's avatar
      Add console scripts for accessible examples and libraries · 752fb424
      Tjerk Vreeken authored
      The examples for RTC-Tools do not come packaged in the pip package, and
      neither would the typical installation location be very convenient.
      Editable installs with a git repository are of course possible for
      developers, but end users need something easier and more accessible.
      
      The same goes for the Modelica libraries. They are now also included as
      pip packages, and the location of the Modelica files is therefore not
      very accessible.
      
      To solve this, we add two console scripts, that will get placed in PATH
      upon installation:
      - rtc-tools-download-examples
      - rtc-tools-copy-libraries
      
      Note that the Modelica libraries are _copied_ and not symlinked, to
      avoid confusion when editing files, and also avoid users inadvertently
      deleting the actual Modelica files in the package.
      
      Closes #1032 and #1034
      752fb424
  3. 25 May, 2018 1 commit
    • Jorn Baayen's avatar
      Delayed feedback expressions now supported · 666371b8
      Jorn Baayen authored
      Pymoca now supports modelica delay() expressions. This commit updates
      ModelicaMixin to use the improved Pymoca API, as well as the changes
      needed in transcribe() to resolve constraints associated with delay
      expressions and durations.
      
      So far, delay durations may only consist of expressions of parameters,
      numerical values, and constant inputs so as to ensure delay durations
      are resolvable to numerical values at transcribe() time.
      666371b8
  4. 19 Apr, 2018 1 commit
    • Tjerk Vreeken's avatar
      Use tox for tests · b5dbcb65
      Tjerk Vreeken authored
      This allows us to easily run tests for multiple platforms, and multiple
      versions of Python.
      
      Closes #1000
      b5dbcb65
  5. 19 Feb, 2018 1 commit
  6. 14 Feb, 2018 1 commit
    • Tjerk Vreeken's avatar
      Relicense to LGPLv3, and remove GPL notices · bc4ebe74
      Tjerk Vreeken authored
      The filenames COPYING and COPYING.LESSER are suggested by the Free
      Software Foundation, and also typically used in many automatic checkers.
      
      The command-line notices were required by the GPL, but are not needed to
      be compliant with the LGPL. We remove them to behave more like similarly
      licensed software (e.g. CasADi), which do not produce such notices.
      bc4ebe74
  7. 28 Nov, 2017 3 commits
    • Tjerk Vreeken's avatar
      Lower version requirement to Python 3.5 · 13d701be
      Tjerk Vreeken authored
      There is no reason not to support Python 3.5 as well, which happens to
      be the default on many systems at time of writing.
      
      Also include the python_requires argument, which is respected by
      versions of pip >= 9.0.0.
      13d701be
    • Tjerk Vreeken's avatar
      Rename distribution name to rtc-tools · 5ec10f94
      Tjerk Vreeken authored
      The import name of the package remains "rtctools" as no dashes are
      supported in those.
      
      Note that the "rtctools" package on PyPI has been made an alias to the
      "rtc-tools" package. That way we show the preference for the usage of
      the dash version, but still allow users to make a typo in trying to
      install "rtctools" instead.
      5ec10f94
    • Tjerk Vreeken's avatar
      Fix _version.py generation for distributions · af05a728
      Tjerk Vreeken authored
      Versioneer needs to override certain commands, e.g. sdist. We therefore
      cannot add a subdictionary to the cmdclass dictionary, but instead have
      to put version.get_cmdclass()'s keys and values at the top level.
      af05a728
  8. 02 Aug, 2017 1 commit
  9. 28 Jun, 2017 1 commit
  10. 15 May, 2017 2 commits
  11. 09 Nov, 2016 1 commit
  12. 07 Oct, 2016 1 commit