This the Source Distribution (sdist) repository for the FBXSDK Python Bindings
The Source Distribution (sdist) repository for the FBXSDK Python Bindings
**Packages for the Source Distribution and wheels (prebuilt binaries) can be installed with pip (see Install)**
**Packages for the Source Distribution and wheels (prebuilt binaries) can be installed with pip (see Install)**
## Install
## Install
...
@@ -8,10 +8,10 @@ This the Source Distribution (sdist) repository for the FBXSDK Python Bindings
...
@@ -8,10 +8,10 @@ This the Source Distribution (sdist) repository for the FBXSDK Python Bindings
1. Obtain a [Gitlab Token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token) to authenticate to the project pypi repository
1. Obtain a [Gitlab Token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token) to authenticate to the project pypi repository
2. Run the following command, with `<Gitlab Token>` replaced with your personal token :
2. Run the following command, with `<Gitlab Token>` replaced with your personal token :
If there is no wheel available for your platform, pip will attempt to build from source
If there is no wheel available for your platform, pip will attempt to build from source
To force an install from source, pass the `--no-binary` option to pip
To force an install from source, pass the `--no-binary fbxsdkpy` option to pip
## Manual Build
## Manual Build
...
@@ -20,4 +20,5 @@ Alternatively, the bindings can be built and installed by cloning this repositor
...
@@ -20,4 +20,5 @@ Alternatively, the bindings can be built and installed by cloning this repositor
### Remarks
### Remarks
Instead of the libraries and bindings from Autodesk being included in the repository, they are downloaded before building
Instead of the libraries and bindings from Autodesk being included in the repository, they are downloaded before building
`--verbose` is recommended to get the output of the compiler in case of an error. Also, as compilation can take several minutes, `pip` might otherwise seem unresponsive
`--verbose` is recommended to get the output of the compiler in case of an error. Also, as compilation can take several minutes, `pip` might otherwise seem unresponsive
On Windows, the installers from Autodesk trigger Permission Requests, if left unanswered they will timeout, the installation will continue without the required files and quietly fail. A solution to run the installation unattended is to do it from an Administrator command line