cstore: move pythonutil to cstore

Summary:
Now that ctreemanifest no longer depends on python.h, let's move pythonutil over
to cstore where all the python code is.

Test Plan: Ran the build and the tests

Reviewers: #mercurial, simonfar

Reviewed By: simonfar

Subscribers: mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4663988

Signature: t1:4663988:1488895919:652b3fc35a2dd12c51a9f70e32997c7b4d037c95
This commit is contained in:
Durham Goode 2017-03-07 11:39:46 -08:00
parent 9b3457e955
commit 5dac028b0e
5 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ extern "C" {
#include "../cdatapack/cdatapack.h" #include "../cdatapack/cdatapack.h"
} }
#include "../ctreemanifest/pythonutil.h" #include "pythonutil.h"
#include "datapackstore.h" #include "datapackstore.h"
#include "key.h" #include "key.h"
#include "py-structs.h" #include "py-structs.h"

View File

@ -168,11 +168,11 @@ else:
sources=[ sources=[
'cstore/datapackstore.cpp', 'cstore/datapackstore.cpp',
'cstore/py-cstore.cpp', 'cstore/py-cstore.cpp',
'cstore/pythonutil.cpp',
'cstore/uniondatapackstore.cpp', 'cstore/uniondatapackstore.cpp',
'ctreemanifest/manifest.cpp', 'ctreemanifest/manifest.cpp',
'ctreemanifest/manifest_entry.cpp', 'ctreemanifest/manifest_entry.cpp',
'ctreemanifest/manifest_fetcher.cpp', 'ctreemanifest/manifest_fetcher.cpp',
'ctreemanifest/pythonutil.cpp',
'ctreemanifest/treemanifest.cpp', 'ctreemanifest/treemanifest.cpp',
], ],
include_dirs=[ include_dirs=[

View File

@ -63,6 +63,8 @@ New errors are not allowed. Warnings are strongly discouraged.
Skipping cstore/py-datapackstore.h it has no-che?k-code (glob) Skipping cstore/py-datapackstore.h it has no-che?k-code (glob)
Skipping cstore/py-structs.h it has no-che?k-code (glob) Skipping cstore/py-structs.h it has no-che?k-code (glob)
Skipping cstore/py-treemanifest.h it has no-che?k-code (glob) Skipping cstore/py-treemanifest.h it has no-che?k-code (glob)
Skipping cstore/pythonutil.cpp it has no-che?k-code (glob)
Skipping cstore/pythonutil.h it has no-che?k-code (glob)
Skipping cstore/store.h it has no-che?k-code (glob) Skipping cstore/store.h it has no-che?k-code (glob)
Skipping cstore/uniondatapackstore.cpp it has no-che?k-code (glob) Skipping cstore/uniondatapackstore.cpp it has no-che?k-code (glob)
Skipping cstore/uniondatapackstore.h it has no-che?k-code (glob) Skipping cstore/uniondatapackstore.h it has no-che?k-code (glob)
@ -73,8 +75,6 @@ New errors are not allowed. Warnings are strongly discouraged.
Skipping ctreemanifest/manifest_entry.h it has no-che?k-code (glob) Skipping ctreemanifest/manifest_entry.h it has no-che?k-code (glob)
Skipping ctreemanifest/manifest_fetcher.cpp it has no-che?k-code (glob) Skipping ctreemanifest/manifest_fetcher.cpp it has no-che?k-code (glob)
Skipping ctreemanifest/manifest_fetcher.h it has no-che?k-code (glob) Skipping ctreemanifest/manifest_fetcher.h it has no-che?k-code (glob)
Skipping ctreemanifest/pythonutil.cpp it has no-che?k-code (glob)
Skipping ctreemanifest/pythonutil.h it has no-che?k-code (glob)
Skipping ctreemanifest/treemanifest.cpp it has no-che?k-code (glob) Skipping ctreemanifest/treemanifest.cpp it has no-che?k-code (glob)
Skipping ctreemanifest/treemanifest.h it has no-che?k-code (glob) Skipping ctreemanifest/treemanifest.h it has no-che?k-code (glob)
Skipping statprof.py it has no-che?k-code (glob) Skipping statprof.py it has no-che?k-code (glob)