Skip to content
Snippets Groups Projects
Forked from an inaccessible project.
  • Cristián Maureira-Fredes's avatar
    2b0aeb17
    Add module src-structure for packaging and tests · 2b0aeb17
    Cristián Maureira-Fredes authored and Jörg Bornemann's avatar Jörg Bornemann committed
    - Moving files to use a src-layout
      https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout
    
    
    
    - Removed the qmake2cmake and run_qmake2cmake bash/bat scripts in favor
      of the entry points the project installs.
    
    - Migrate setup.py content to setup.cfg, and removing it in favor of
      using pyproject.toml
      A rudimentary setup.py is kept around to allow "pip install -e ." with
      older pip/setuptools versions.
    
    - Add black and mypy options to the pyproject.toml
    
    - Creating an empty `__init__.py` on the module, to be considered by
      the `build` module. This was not required before, because the setup()
      call in the setup.py was forcing the packages to be ".", and using
      a setup.cfg requires a proper module-structure.
    
    - Creating an empty `src/conftest.py` for pytest to recognize
      the src/qmake2cmake directory as a module, to handle the imports
    
    - The converter tests was adapted to use a function instead of running
      the pro2cmake.py directly (Change by Joerg)
    
    - Added Installation step to the README to install the project before
      using it.
    
    - Include more files to the .gitignore
    
    Change-Id: I088ae1b29f113958ab5a5a4e73625386f02ef802
    Reviewed-by: default avatarAlexandru Croitor <alexandru.croitor@qt.io>
    2b0aeb17
    History
    Add module src-structure for packaging and tests
    Cristián Maureira-Fredes authored and Jörg Bornemann's avatar Jörg Bornemann committed
    - Moving files to use a src-layout
      https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout
    
    
    
    - Removed the qmake2cmake and run_qmake2cmake bash/bat scripts in favor
      of the entry points the project installs.
    
    - Migrate setup.py content to setup.cfg, and removing it in favor of
      using pyproject.toml
      A rudimentary setup.py is kept around to allow "pip install -e ." with
      older pip/setuptools versions.
    
    - Add black and mypy options to the pyproject.toml
    
    - Creating an empty `__init__.py` on the module, to be considered by
      the `build` module. This was not required before, because the setup()
      call in the setup.py was forcing the packages to be ".", and using
      a setup.cfg requires a proper module-structure.
    
    - Creating an empty `src/conftest.py` for pytest to recognize
      the src/qmake2cmake directory as a module, to handle the imports
    
    - The converter tests was adapted to use a function instead of running
      the pro2cmake.py directly (Change by Joerg)
    
    - Added Installation step to the README to install the project before
      using it.
    
    - Include more files to the .gitignore
    
    Change-Id: I088ae1b29f113958ab5a5a4e73625386f02ef802
    Reviewed-by: default avatarAlexandru Croitor <alexandru.croitor@qt.io>
Makefile 255 B