Comments (5)
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
: usessetup.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.
Renaming this issue.
from ansys-templates.
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.
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.
This led to opening #22 and its associated PR in #23.
from ansys-templates.
Related Issues (20)
- Change the ansys-sphinx-theme to use Ansys logo HOT 1
- Issues templates no longer available HOT 1
- Improve Docker implementation
- Tox returns missing Python interpreter while Python is installed HOT 7
- Implement slideshow template HOT 1
- Add more project urls
- Ask whether vale should be implemented as an optional workflow or within the main CI/CD
- Add automatic GH actions update to ansys-templates HOT 1
- Bug located in README.rst HOT 1
- Implement doctest in tox.ini
- Minor improvements to coverage location and badges
- Fix README instructions
- Update template default requirements versions
- Implement report template
- Tweak doc Makefile clean target?
- Migrate template workflows to pyansys/actions
- Unlinked build-library job in baked CI/CD
- Implement reuse-tool for file licensing
- Add pre-commit to dev dependency group in Poetry template HOT 1
- Broken Link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansys-templates.