cloudbase / PyMI

A blazing fast replacement for the Python WMI module
Apache License 2.0
21 stars 14 forks source link

Refactor build process #38

Closed petrutlucian94 closed 5 years ago

petrutlucian94 commented 5 years ago

At the moment, we're relying on a Visual Studio solution when building the extension. For this reason, simply doing a "pip install PyMI" will fail as setup.py doesn't build the extension, expecting it to be already built.

We're now letting distutils build our extension (keeping the VS Solution as well for now). We're also switching to pbr, simplifying version management.

The project structure will have to change a bit. Pbr seems to make some assumptions about the project layout, so we'll have to move setup.py in the top level dir, having wmi dir next to it.

Fixes: #40

rgl commented 5 years ago

Any news about merging this?

ader1990 commented 5 years ago

@petrutlucian94 can you rebase this PR? I saw it got some conflicts after the last merge. Thanks.