|
by: Christian Seberino |
last post by:
I specify packages in my setup.py but what if I want
all py files in a directory but one???
How remove just that one?? (Without listing all files I want explicitly??)
I need header files to build a C extension but I DON't want headers
installed.
*How do I include header files in the tar.gz (tarball) file but NOT have
them be installed when "python setup.py install" done??
|
by: John Hunter |
last post by:
What is the best way to get the target install dir from distutils when
python setup.py install
is run.
Eg, on a standard python install to /usr/local I want
/usr/local/lib/python2.3/site-packages
|
by: Mike Meyer |
last post by:
I've got a package that includes an extension that has a number of
header files in the directory with the extension. They are specified
as "depends = " in the Extension class. However, Distutils
doesn't seem to do anything with them.
If I do an sdist, the include files aren't added to the tarball.
If I do a bdist_rpm, the source files get copied into the build
directory and the build starts, but the header files aren't copied
with the...
|
by: Martin Bless |
last post by:
Now that I've got my extension building machine using the VC++ Toolkit
2003 up and running I'm keen on using Pyrex (Pyrex-0.9.3,
Python-2.4.0).
But the definition of the swig_sources() method seems to have changed.
When I try to build the examples from Pyrex I get a TypeError:
c:\Pyrex-0.9.3\Demos> python Setup.py build_ext --inplace
|
by: TPJ |
last post by:
I'm trying to get a wrapper for my C code in order to be able to use it
as a module in Python. I'm doing it as follows:
C code (file_c.c):
-------------------------------
#include <stdio.h>
void hello( int size )
{
printf("Hello! %d\n", size);
|
|
by: Math |
last post by:
Hello python people,
Can you help me out please.
I get the folllowing Error while trying to build a installer with the
Distutils module:
------------------------------------------------------------------------------------------------------------------------------------------
building 'win32com.client' extension....
'Python was built with version 7.1 of Visual Studio, and extensions need to
be built with the same version of the compiler,...
|
by: Blair LeGent |
last post by:
Following the directions in "Python in a Nutshell" (an excellent book),
I entered the C code for "helloworld.c", saved it as a file, and entered
this script and saved it as setup.py:
from distutils.core import setup, Extension
setup(name='helloworld', ext_modules= )])
Then, following directions, I type "python setup.py install" from a C:\>
prompt. I get these messages:
|
by: Martin Kulas |
last post by:
Hallo!
I have a problem with Py_BuildValue: I want to convert an unsigned int
to a PyObject *.
http://docs.python.org/api/arg-parsing.html says that I can use
"I" as a format string.
But it does not work :-\
Here is my simplified code:
|
by: jtravs |
last post by:
Hi all,
I suspect that I'm doing something stupid, I would like some other
opinions though.
I'm getting started with ctypes and am trying to use distutils to help
build my module. At the moment I simply want distutils to build a
shared c library (not a python extension!). Under linux, the following
works, under windows xp id doesn't (which I guess is obvious, but the
linux success lead me on).
I have two files at the moment...
|
by: kyosohma |
last post by:
Hi,
I am trying to get a small group of volunteers together to create
Windows binaries for any Python extension developer that needs them,
much like the package/extension builders who volunteer their time to
create Linux RPMs.
The main thing I need are people willing to test the binaries to make
sure the extension is stable. This would require installing the binary
and probably downloading the source too to get the developer's test
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|