user1558064
user1558064

Reputation: 887

Is there a way to create pkg for python app on mac?

I search around, still not sure if I can do it using python setup.py install ...

Any help will be appreciated. Thanks.

I want to package everything I made by python into a pkg or dog file, then this pkg file can be installed to other machines.

Upvotes: 0

Views: 1471

Answers (1)

mdml
mdml

Reputation: 22892

Yes, you can use the distutils module to create a Python package. You can then use

python setup.py install

or

python setup.py build

to install/build the package.

Because Mac OS X is Unix-based, modules will install/build just like on Unix.

Upvotes: 2

Related Questions