Reputation: 887
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
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