Comments (9)
import sys print(sys.version_info)
Thanks! Real helpful.
from pybuilder.
from subprocess import check_call
check_call(["/opt/myprocess", "arg1", "arg2"])
from pybuilder.
good. thanks.
from pybuilder.
i guess the exec
plugin doesn't allow for a command hook on the 'post-build source dist'?
from pybuilder.
Also, any way to get the 'expanded'/'effective' values of properties set on the project?
The ones which have stuff like $dir_dist/blah/blah/blah
but with $dir_dist
substituted with the referenced property value?
or do i have to code template processing manually?
from pybuilder.
project.expand_path("$dir_dist/blah/blah/blah")
from pybuilder.
project.expand_path("$dir_dist/blah/blah/blah")
Perfect!
Did I miss it in the docs?
from pybuilder.
One more indelicate request: is there any way to know what Python version PyBuilder is being run with?
Or, maybe 'pip3' is always available as a command?
I hard-coded the PIP name (pip3) to install local dependencies for AWS Lambda packaging but not sure if I can discover the name of that command instead...
from pybuilder.
import sys
print(sys.version_info)
from pybuilder.
Related Issues (20)
- Setuptools 62.2+ and twine require non-empty `long_description` HOT 16
- Python 3.11: remote process start fails in `_posixsubprocess.fork_exec` HOT 1
- The XML coverage report generated via PyBuilder can show wrong filenames and packages HOT 2
- pybuilder/terminal.py:135: ResourceWarning: unclosed file
- Python venv management needs to account for debug builds
- Should flake8 still be pinned?
- requests is not a dependency of pybuilder HOT 2
- distutils build_binary_distribution should run before "package" not "publish" HOT 2
- Problem in Windows OS HOT 3
- Module `imp` is not available in Python 3.12
- pybuilder does not run unit tests "correctly" - ModuleNotFoundError: No module named 'src' HOT 1
- pycharm: imports are unresolved but pyb works, also running the application works HOT 2
- support for netbeans or vscode HOT 4
- Specify Python version for virtual env HOT 4
- Newer versions of virtualenv causing clash with vendored virturalenv HOT 1
- Permission denied [Errno 13] when using source_distribution_plugin HOT 7
- SonarQube integration configuration HOT 10
- SonarQube passed ignoring test coverage threshold HOT 5
- imports from pkg_resources are deprecated since setuptools==70 HOT 13
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 pybuilder.