1. 03 Aug, 2021 1 commit
  2. 13 Jul, 2021 1 commit
  3. 24 Jun, 2021 1 commit
  4. 07 Jul, 2021 1 commit
  5. 16 Jun, 2021 1 commit
  6. 07 Apr, 2021 2 commits
  7. 25 Nov, 2020 1 commit
  8. 03 Jun, 2020 1 commit
  9. 04 Jun, 2021 1 commit
  10. 21 May, 2021 1 commit
  11. 26 Jun, 2019 2 commits
  12. 05 Apr, 2019 1 commit
    • Denis Laxalde's avatar
      Drop python2 support · 26744ad37953
      Denis Laxalde authored
      This mostly consists in removing the dependency on "six" and updating
      the code to use only Python3 idioms.
      Notice that we previously used TemporaryDirectory from
      cubicweb.devtools.testlib for compatibility with Python2. We now
      directly import it from tempfile.
  13. 20 Mar, 2017 1 commit
  14. 09 Mar, 2017 1 commit
    • Denis Laxalde's avatar
      [pyramid] Add a "pyramid" instance configuration type · c3c9f2e1424c
      Denis Laxalde authored
      In a new module 'cubicweb.pyramid.config' we define a "pyramid" instance
      configuration type. The noticeable feature of this configuration is that it
      manages a 'development.ini' file that gets installed in application home
      (along with `.conf` file). This file is templated and includes generated
      values for secrets of session and authtk tokens.
      This means that we can just call:
          pserve etc/cubicweb.d/<appname>/development.ini
          gunicorn --paste etc/cubicweb.d/<appname>/development.ini -b :8080
      just after instance creation to get a pyramid instance running without having
      to hack around a 'pyramid.ini' file.
      This patch drops 'development.ini' from skeleton and moves it in
      cubicweb/pyramid so that it gets installed at instance creation which is more
      appropriate than in cube creation.
      The new configuration class sets "cubicweb.bwcompat" setting to false so it is
      not intended to replace the "all-in-one" configuration type (which would
      require a ...
  15. 05 Jul, 2016 1 commit
    • Denis Laxalde's avatar
      [pkg] Properly export data files in setup.py and adjust "newcube" test · 63ac20ef558e
      Denis Laxalde authored
      With the new package layout (everything under "cubicweb" package), the custom
      install_lib rule which makes use of include_dirs defined in __pkginfo__.py did
      not prepend the package name to source directories to be copied. Fixing this.
      Also, in setup.py's export() function, the destination directories' path to be
      created during source tree walk was wrong.
      All this makes cubicweb/skeleton directory (which is not a package) properly
      installed by setup.py.
      The test in cubicweb/devtools/test/unittest_devctl.py wasn't properly
      implemented because it used an installation of cubicweb in "develop" mode
      which shadows such packaging issues. Also it used "python -m cubicweb" instead
      of directly "cubicweb-ctl" and the former appears to fall back to using the
      cubicweb package *from sources* instead of the installed one.
      Now that this test runs against the installed version of cubicweb, fix
      MANIFEST.in to include tox.ini files (cubicweb's and skeleton's) as this is
      expected from the test.
      Closes #14127941.
      branch : 3.23
  16. 07 Apr, 2021 1 commit
  17. 06 Jul, 2016 1 commit
  18. 19 May, 2016 2 commits
  19. 19 Jul, 2016 1 commit
  20. 27 Jan, 2017 1 commit
  21. 20 Jan, 2017 1 commit
  22. 29 Jan, 2016 1 commit
  23. 25 Jan, 2016 1 commit
  24. 19 Feb, 2016 1 commit
  25. 21 Jan, 2016 1 commit
  26. 29 Jan, 2016 1 commit
    • Denis Laxalde's avatar
      Add a __main__ to cubicweb · 5fdbf6f2db88
      Denis Laxalde authored
      This avoids calling cubicweb-ctl relatively in tests and could be useful
      in virtualenv.
      This is just a copy of bin/cubicweb-ctl file, which should probably be
      generated from a setuptools entry points.
  27. 16 Jan, 2016 1 commit
    • Denis Laxalde's avatar
      Reorganize source tree to have a "cubicweb" top-level package · 0b59724cb3f2
      Denis Laxalde authored
      mkdir cubicweb
      hg mv *.py -X setup.py cubicweb
      hg mv dataimport devtools entities etwist ext hooks i18n misc schemas server skeleton sobjects test web wsgi cubicweb
      Other changes:
      * adjust path to cubicweb-ctl in devtools tests
      * update setup.py to avoid importing __pkginfo__ (exec it instead),
        replace os.path.walk by os.walk and prepend `modname` here and there
      * update tox.ini to account for new test locations
      * update doc/conf.py so that it still finds __pkginfo__.py and CWDIR in