Comments (3)
This problem doesn't deals with datadir being not included (also it is not but it is easy solved)
The question is that here in the config dirs are hard coded they MUST be dynamic and relative to the app !!
regarding OS X I know the right way to do it, py2app gives an environment variable in os.environ['RESOURCEPATH'] that is the full path to the app bundle from whatever place it is launched
I don't know (and can't test) how to do the same with py2exe
ask me if I wasn't exhaustive :P
[EDIT] I correct myself :P not hard coded but relative to config.py script that willi be in a zipped folder inside lib ecc... in the app bundle
from apaf.
That's right. Probably the only solution is to create a function which looks on /etc, then on 'RESOURCEPATH', and finally on the relative path itself.
Thanks.
from apaf.
Can this ticket be closed?
from apaf.
Related Issues (20)
- Apaf Built in browser as a native UI on Ubuntu Linux
- Support setup of icon Windows
- Splash screen with Progress Bar - Windows HOT 1
- Splash screen with Progress Bar - Ubuntu Linux
- Automate build dependency installation - Linux
- Automate build dependency installation - OSX
- Create Build System Server for Apaf Application HOT 2
- Git version of txtorcon causes TypeError HOT 4
- Document the process of setting up APAF and python-xmpp
- Remove zinniablog from default services in APAF HOT 3
- Default APAF hidden service serves /tmp HOT 1
- Make downloading of binary packages secure HOT 1
- launch_tor() got an unexpected keyword argument 'data_directory' HOT 2
- Set Process Name to the main APAF Services
- Installation error
- Error when accessing service details
- If login with password fail I get a confusing login prompt
- The landing page is not the index.html HOT 1
- If login succeeds I don't get redirected to the page I was visiting
- Create statically linked python binary HOT 3
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 apaf.