[Gelistirici] trunk/pisi/pisi/actionsapi - Implement configure()
Fatih Aşıcı
fatih at pardus.org.tr
23 Mar 2010 Sal 10:44:37 EET
On Tuesday 23 March 2010 10:18:48 Ozan Çağlayan wrote:
> +def configure(parameters = ''):
> + '''does python setup.py configure'''
> + if system('python setup.py configure %s' % (parameters)):
>
distutils'de böyle bir komut yok yalnız. Standart komutlar aşağıdakilerden
ibaret:
Standard commands:
build build everything needed to install
build_py "build" pure Python modules (copy to build directory)
build_ext build C/C++ extensions (compile/link to build directory)
build_clib build C/C++ libraries used by Python extensions
build_scripts "build" scripts (copy and fixup #! line)
clean clean up temporary files from 'build' command
install install everything from build directory
install_lib install all Python modules (extensions and pure Python)
install_headers install C/C++ header files
install_scripts install scripts (Python or otherwise)
install_data install data files
sdist create a source distribution (tarball, zip file, etc.)
register register the distribution with the Python package index
bdist create a built (binary) distribution
bdist_dumb create a "dumb" built distribution
bdist_rpm create an RPM distribution
bdist_wininst create an executable installer for MS Windows
upload upload binary package to PyPI
Karşılaştığın setup.py dosyası configure adında özel bir komut implement etmiş
olabilir. Bunun yerine özel komutları kullanmak için bir metod eklemek daha
doğru olmaz mı?
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20100323/aa8b20ca/attachment-0002.pgp>
Gelistirici mesaj listesiyle ilgili
daha fazla bilgi