Comments (8)
Packaging pyffi as a separate add-on will add another step for the user to do. I suppose it makes sense if the user is capable of installing the Blender nif part of the plug-in they will be capable of installing a Pyffi module first. But I do foresee lots of people looking for help because they do not install in the right order or not installing the Pyffi add-on at all.
Ideally I would have liked an all in one "plug-in" so packaging to the module folder would be my preferred option.
I will get onto campbo about the upgrade system.
( Also double relate imports "..xx.y" was the only way I could figure out to get some of the tests working, I know its not related to the actual end plug-in. You are right it does lead to incomprehensible imports and this is only simple one. Can we rename the sub /test folder to something else as I think that is the root cause. )
from blender_niftools_addon.
I was talking to @kilon and @BlenderPhys over on #blenderpython and its seems that the add-on installer works as a simple copy paste solution. I will check it out myself later, but we may have to go back to the old way.
from blender_niftools_addon.
There seems to be an overwrite option when you go to install the scripts, should investigate further. There are also some add-ons which allow you to install/upgrade suggested by @Gaia-Clary from #blenderpython, We could make an installer add-on and then use that to install all dependancies, but that might leave us back in the same situation on how to upgrade that, but it would only be single dependancy, delete it locally, reinstall, call imp...upgrade inception. Falling back to bdist_nsi might be still an option.
from blender_niftools_addon.
Just thinking that having a niftools add-on manager might be advantageous as then I would have no objections to migrating each of the nif utilities to separate repos?
from blender_niftools_addon.
I'm not terribly keen on introducing an addon just to handle installation, if we can avoid it.
Looking at the source of the blender install addon feature, indeed it (attempts?) to remove the existing addon folder, but probably it will fail at doing so (at least on 2.62) because os.rmdir is used which will only remove empty folders. Instead, shutil.rmtree ought to be used. Hopefully I missed something and I am wrong, but if I'm right, we probably can get this fixed upstream.
Regarding modules, here's another possible solution: introduce a io_scene_nif/modules folder ourselves, and add it to sys.path when io_scene_nif is imported? Personally, I hate to have to mess with sys.path, but... This will also ensure that old files get erased on upgrade (because the entire io_scene_nif folder gets wiped, or at least that's the idea).
from blender_niftools_addon.
That looks good. I will still like to look into the add-on installer as a possibly alternative and for the wider scheme of things, i.e utilities etc. I am currently talking with Gaia-Clary, who has already given me the source code, so will find out more info. Here is general detail about it - http://blog.machinimatrix.org/products/marketplace/addon/overview/
from blender_niftools_addon.
Well, it's certainly something we can revisit in the future. Anyway, this goes way beyond the "how do we bundle pyffi" question, so this issue can be closed?
from blender_niftools_addon.
Yeah I have manually merged the last update that was omitted from the pull request.
from blender_niftools_addon.
Related Issues (20)
- Can't open Nif File HOT 6
- BSSkinBoneTrans error during import of a vanilla Fallout 4 skinned mesh HOT 4
- Can't enable installed latest version of niftools [0.1.0] HOT 7
- can't open version 20.3.1.1 HOT 5
- not exporting correctly - Skyrim SE HOT 3
- I can't export model to nif format HOT 2
- Export NIF Not Working HOT 3
- Add support for Blender 4.0 HOT 2
- BS Lighting Shader Object Type information gets lost at export HOT 1
- I am having an issue with overlapping models, and they are not producing accurate results HOT 2
- I'm having issue exporting as .nif
- models are not imported correctly HOT 1
- Error importing .nif HOT 2
- Error exporting Skyrim SE nif HOT 2
- Exporting NiTriStrips creates excess triangles
- Unable to export Skyrim SE .nif in Blender 3.6
- FusionFall NIF/KFM Support HOT 1
- Can't export .kf file AttributeError: 'NoneType' object has no attribute 'pose_markers'
- Errors stopping me from exporting nifs HOT 1
- Digimon - DMO
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 blender_niftools_addon.