# This is so far just tested on Windows... # Seems to work fine with ActiveState Python2.3 from distutils.core import setup, Extension setup(name="P4", version="1.0", py_modules=["p4"], ext_modules=[Extension("P4Client", ["P4Clientmodule.cc"], include_dirs=["p4api"], library_dirs=["p4api"], libraries=["oldnames", "wsock32", "advapi32", "libclient", "librpc", "libsupp"], extra_compile_args=["/DOS_NT", "/DMT", "/DCASE_INSENSITIVE"], # extra_link_args=["/NODEFAULTLIB:msvcrt", "/NODEFAULTLIB:libcmt"] )])
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 4755 | Robert Cowham |
Rename //guest/robert_cowham/perforce/API/python/P4Client/... To //guest/robert_cowham/perforce/API/python/main/... |
||
#2 | 4618 | Robert Cowham |
Note that the contents of p4.py is now in p4cmd.py as I want to re-use the name p4.py for the more general module case. Started converting package to be more like p4ruby and p4perl in the way it works. |
||
#1 | 4592 | Robert Cowham |
Untabbed. Added setup.py - works for ActiveState Python 2.3! |