Giter Site home page Giter Site logo

Comments (5)

jorgepiloto avatar jorgepiloto commented on June 2, 2024 1

I agree with consistency. In fact, this is one of the goals of the project. From internal discussions, we finally decided to provide on te Python templates side:

  • pypkg: uses setup.py, no tox, no pre-commit. It is tiny, minimalist and dev/users are familiar with its structure and usage.
  • pypkg-advanced?: allows more experienced users to select build system and other modern tools.

from ansys-templates.

jorgepiloto avatar jorgepiloto commented on June 2, 2024

Renaming this issue.

from ansys-templates.

jorgepiloto avatar jorgepiloto commented on June 2, 2024

I think this issue can be closed if @phxnsharp agrees. After merging #18, three different Python Package templates are provided now:

ansys-templates list

returns:

Available templates in ansys-templates are:

pybasic: Create a basic Python Package.
pyansys: Create a PyAnsys Python Package project.
pyansys-advanced: Create an advanced PyAnsys Python Package project.

Now, it is possible to add new packages in a simple way. This will help #10 to be completed.

from ansys-templates.

phxnsharp avatar phxnsharp commented on June 2, 2024

Went to try it out before closing it and I get the following error trying to instantiate an advanced package:

(venv) nsharp@ubuntu:~/ver/PyVarTypes/t$ ansys-templates new pyansys_advanced
Usage: ansys-templates new [OPTIONS] COMMAND [ARGS]...
Try 'ansys-templates new --help' for help.

Error: No such command 'pyansys_advanced'.

(venv) nsharp@ubuntu:~/ver/PyVarTypes/t$ pip --version
pip 22.0.4 from /home/nsharp/ver/PyVarTypes/venv/lib/python3.8/site-packages/pip (python 3.8)
(venv) nsharp@ubuntu:~/ver/PyVarTypes/t$ pipx --version
1.0.0
(venv) nsharp@ubuntu:~/ver/PyVarTypes/t$ python --version
Python 3.8.0
(venv) nsharp@ubuntu:~/ver/PyVarTypes/t$ cat /etc/issue
Ubuntu 18.04.6 LTS \n \l

It works for pyansys and pybasic.

from ansys-templates.

jorgepiloto avatar jorgepiloto commented on June 2, 2024

This led to opening #22 and its associated PR in #23.

from ansys-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.