Skip to content
Browse files

Re-arranging package for pip compatibility

  • Loading branch information...
1 parent ee48c01 commit c9c7ad5040f6f51c4272470b948d1bf383596d74 @mikeyk committed Dec 26, 2011
View
13 python/setup.py → setup.py
@@ -43,18 +43,9 @@
if sys.platform == "win32":
libs.append("ws2_32")
-shutil.copy("../Client.h", "./")
-shutil.copy("../mcdefs.h", "./")
-shutil.copy("../PacketWriter.h", "./")
-shutil.copy("../PacketReader.h", "./")
-shutil.copy("../socketdefs.h", "./")
-shutil.copy("../PacketWriter.cpp", "./")
-shutil.copy("../PacketReader.cpp", "./")
-shutil.copy("../Client.cpp", "./")
-
module1 = Extension('umemcached',
- sources = ['umemcached.cpp', 'PacketReader.cpp', 'PacketWriter.cpp', 'Client.cpp'],
- include_dirs = ['./'],
+ sources = ['umemcached.cpp', 'src/PacketReader.cpp', 'src/PacketWriter.cpp', 'src/Client.cpp'],
+ include_dirs = ['src/'],
library_dirs = [],
libraries=libs,
define_macros=[('WIN32_LEAN_AND_MEAN', None)])
View
0 Client.cpp → src/Client.cpp
File renamed without changes.
View
0 Client.h → src/Client.h
File renamed without changes.
View
0 PacketReader.cpp → src/PacketReader.cpp
File renamed without changes.
View
0 PacketReader.h → src/PacketReader.h
File renamed without changes.
View
0 PacketWriter.cpp → src/PacketWriter.cpp
File renamed without changes.
View
0 PacketWriter.h → src/PacketWriter.h
File renamed without changes.
View
0 mcdefs.h → src/mcdefs.h
File renamed without changes.
View
0 socketdefs.h → src/socketdefs.h
File renamed without changes.
View
0 python/tests.py → tests.py
File renamed without changes.
View
0 python/umemcached.cpp → umemcached.cpp
File renamed without changes.

0 comments on commit c9c7ad5

Please sign in to comment.
Something went wrong with that request. Please try again.