Python implementation #120

Closed
opened 2017-07-12 11:56:49 +00:00 by techtonik · 6 comments
techtonik commented 2017-07-12 11:56:49 +00:00 (Migrated from github.com)

Is there a reference Python code that can be used to understand what this tool does and embed it into Python IDEs and build tools, such as SCons?

Is there a reference Python code that can be used to understand what this tool does and embed it into Python IDEs and build tools, such as SCons?

You're probably looking for the python binding, which isn't finished yet. Once finished, it will include documentation.

You're probably looking for the python binding, which isn't finished yet. Once finished, it will include documentation.
techtonik commented 2017-09-16 03:31:06 +00:00 (Migrated from github.com)

@kaniini not really. I am thinking about how hard is to implement pkgconf logic in Python. One of the use cases is to understand project requirements and automatically setup toolchain prior to building.

@kaniini not really. I am thinking about how hard is to implement `pkgconf` logic in Python. One of the use cases is to understand project requirements and automatically setup toolchain prior to building.

that's what the python binding aims to implement -- access to the libpkgconf core for this purpose entirely :)

that's what the python binding aims to implement -- access to the libpkgconf core for this purpose entirely :)
techtonik commented 2017-09-17 06:08:32 +00:00 (Migrated from github.com)

@kaniini yea, but I am solving a zip.zip problem that you need installed toolset to compile pkgconf, because pkgconf doesn't ship binaries for Windows etc. Another Python advantage is that interpreted language is more secure against exploits and could be used for automatic analysis from the web.

@kaniini yea, but I am solving a `zip.zip` problem that you need installed toolset to compile `pkgconf`, because `pkgconf` doesn't ship binaries for Windows etc. Another Python advantage is that interpreted language is more secure against exploits and could be used for automatic analysis from the web.

there is no implementation that would be identical to pkgconf, in python. somebody could write one, of course, but the problem is you're having to track a moving target.

regarding windows binaries, a solution is coming soon, likely with 1.4 release

there is no implementation that would be identical to pkgconf, in python. somebody could write one, of course, but the problem is you're having to track a moving target. regarding windows binaries, a solution is coming soon, likely with 1.4 release
techtonik commented 2017-09-18 08:10:35 +00:00 (Migrated from github.com)

Why writing an alternative is a moving target? I started this issue from the point that it is not clear what exactly this tool does. That's because current explanation is based on prior knowledge of existing ways. It might be possible that the tool can be evolved into specification and set of data files that describe processing rules that are independent of the tool being used.

Why writing an alternative is a moving target? I started this issue from the point that it is not clear what exactly this tool does. That's because current explanation is based on prior knowledge of existing ways. It might be possible that the tool can be evolved into specification and set of data files that describe processing rules that are independent of the tool being used.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#120
There is no content yet.