Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

To run python setup tools using Maven

snehal.shaha created the topic: To run python setup tools using Maven
Hi All

I have two modules in my project.
1. Java module
2. Python Module

I am using Maven for java and building the module

For python I decided to use setuptools (setup.py).

I want to use Maven and try and build Python Module.
Please can anybody help how to use any plugin available in Maven to Build Python Project.

The exact example code for POM.xml

If not this way, Can you suggest me some way I can use one tool and do both of this.
I am preferring Maven to be used for whole project.

Thanks in advance,
Snehal

tpatil replied the topic: Re: To run python setup tools using Maven
Hi Snehal,

You can use maven-exec-plugin to execute python script using maven.

E.g. org.codehaus.mojo
exec-maven-plugin



python
src/main/python

build.py


../../main/python:$PYTHONPATH


python-build package
exec


Hope this helps…

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals

Similar Posts

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments