BHoM / Python_Toolkit

GNU Lesser General Public License v3.0
4 stars 2 forks source link

Enable project/toolkit-specific environment creation #68

Closed tg359 closed 2 years ago

tg359 commented 3 years ago

Issues addressed by this PR

Closes #67

The embedded Python's DLLs and PYD files are now in a DLL folder enabling Virtualenv to be run, supporting creation of project/toolkit specific Python venvs. However, as each environment can be isolated, and environment per-toolkit is also possible to save on issues with different version of Python being used across toolkits (for example, with tools that have their own embedded versions that must be accounted for in writing targeted code).

Test files

67.zip

Changelog

Additional comments

Additional PR's raised reliant on this overhaul listed below:

tg359 commented 3 years ago

@BHoMBot check required

bhombot-ci[bot] commented 3 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning`
tg359 commented 3 years ago

@BHoMBot check required

bhombot-ci[bot] commented 3 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning`
tg359 commented 3 years ago

@BHoMBot check required

bhombot-ci[bot] commented 3 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning` There are 42 requests in the queue ahead of you.
bhombot-ci[bot] commented 3 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning` There are 8 requests in the queue ahead of you.
tg359 commented 3 years ago

@BHoMBot check required

bhombot-ci[bot] commented 3 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning`
tg359 commented 3 years ago

@BHoMBot check required

bhombot-ci[bot] commented 3 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning` There are 14 requests in the queue ahead of you.
emilsvedjer commented 3 years ago

The GetString component in the test file had a warning and only gave null results. Put in a new one and everything worked fine!

tg359 commented 2 years ago

@BHoMBot check required

bhombot-ci[bot] commented 2 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning`
tg359 commented 2 years ago

@BHoMBot check required

bhombot-ci[bot] commented 2 years ago
@tg359 to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning` There are 10 requests in the queue ahead of you.
FraserGreenroyd commented 2 years ago

@BHoMBot check required

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning`
FraserGreenroyd commented 2 years ago

@BHoMBot check compliance

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `branch-compliance` - `dataset-compliance` - `copyright-compliance` There are 12 requests in the queue ahead of you.
bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd fix requested for project compliance. The errors with the CSProject (`.csproj`) files have been recorded as annotations on the checks tab. I will apply the fixes to every case detailed on the checks tab with the exception of any references to the target framework. I am unable to provide fixes to the Target Framework automatically, these will need to be performed manually. If you want to perform the fixes in a different manner please resolve this manually and rerun the check. If you are happy for me to go ahead and perform this action, please reply with: > @BHoMBot fix project file ref. `4366467726`
FraserGreenroyd commented 2 years ago

@BHoMBot fix project file ref. 4366467726

bhombot-ci[bot] commented 2 years ago
@frasergreenroyd I am now going to fix the CSProject compliance in accordance with the annotations previously made.
bhombot-ci[bot] commented 2 years ago
@frasergreenroyd to confirm I have now resolved the CSProject compliance issues and pushed a commit to this Pull Request.
FraserGreenroyd commented 2 years ago

@BHoMBot check compliance

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `branch-compliance` - `dataset-compliance` - `copyright-compliance`
bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd fix requested for copyright headers. The errors with the copyright headers on the CS (`.cs`) files have been recorded as annotations on the checks tab. I will apply the fixes to every case detailed on the checks tab. If you want to perform the fixes in a different manner please resolve this manually and rerun the check. Each CS (`.cs`) file that does not have the current copyright header will have it applied. The current copyright header can be examined [here](https://github.com/BHoM/BHoM/blob/main/COPYRIGHT_HEADER.txt). If you are happy for me to go ahead and perform this action, please reply with: > @BHoMBot fix copyright headers ref. `4366498771`
FraserGreenroyd commented 2 years ago

@BHoMBot fix copyright headers ref. 4366498771

bhombot-ci[bot] commented 2 years ago
@frasergreenroyd I am now going to fix the copyright compliance in accordance with the annotations previously made.
bhombot-ci[bot] commented 2 years ago
@frasergreenroyd to confirm I have now resolved the copyright compliance and pushed a commit to this Pull Request.
FraserGreenroyd commented 2 years ago

@BHoMBot check compliance

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `branch-compliance` - `dataset-compliance` - `copyright-compliance` There are 18 requests in the queue ahead of you.
FraserGreenroyd commented 2 years ago

@BHoMBot check core

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `core` There are 29 requests in the queue ahead of you.
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning` There are 18 requests in the queue ahead of you.
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning`
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning`
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning`
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning`
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning`
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning`
FraserGreenroyd commented 2 years ago

@BHoMBot check versioning

bhombot-ci[bot] commented 2 years ago
@FraserGreenroyd to confirm, the following checks are now queued: - `versioning`