Comments (9)
I think you installed pyconcrete as site-packages, it will generate pyconcrete.pth
in your site-packages, python will default load all *.pth at launch. So your main.py
execute by default python executable, it will load pyconcrete.pth
and then import pyconcrete automatically.
from pyconcrete.
@Falldog Thank you for your quick reply, what should I do if I don't want this characteristic, may remove 'pyconcrete.pth'?
from pyconcrete.
You should follow the README https://github.com/Falldog/pyconcrete#partial-encrypted-pyconcrete-as-lib, install pyconcrete as local library rather than global package
You can uninstall pyconcrete or delete pyconcrete.pth to revise current environment
from pyconcrete.
@Falldog I have deleted pyconcrete.pth and it works, maybe I should install it as a local library. I really appreciate your kind and quick reply.
from pyconcrete.
@Falldog I am going to install pyconcrete in a shell script, but I don't want to input the passphrase during the process, so whether I can just simply add --install-option="--passphrase=<your passphrase>"
after python setup.py install
, thanks.
from pyconcrete.
@animebing for current pyconcreate installation behavior not allow setup passphrase after installation. Please make your shell script to use credentials mechanism to install pyconcrete.
for your reference: https://unix.stackexchange.com/questions/212329/hiding-password-in-shell-scripts
from pyconcrete.
from pyconcrete.
Well noted
Please give it a try
python setup.py install --passphrase=<your passphrase>
from pyconcrete.
@Falldog it works, thanks.
from pyconcrete.
Related Issues (20)
- Does pyconcrete generate .pyc files during execution, if yes which location? HOT 2
- How work with pip to install pye library?
- No module named xx
- Error opening pye-protected models.py and migrations/* files HOT 1
- Can't migrate the database.
- Variable key for different files HOT 1
- Can't Install On Termux HOT 1
- Installation Error in Kali Linux ( on python 3.8) HOT 1
- I want to run pye in a script HOT 3
- Password change HOT 1
- Encryption for installed packages HOT 2
- Can't work
- whether encrypted pye file can be decrypted to pyc file? HOT 1
- Testing application HOT 2
- Support for Python 3.10 HOT 1
- Cannot build or install it HOT 2
- Jinja2 and Django HOT 1
- Cannot get change of passphrase working HOT 1
- Error using multiprocessing with pyconcrete
- Example of django doesn't work HOT 4
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 pyconcrete.