mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
4b89660673
Summary: Update the ifastmanifest_{load,save} methods and their callers to reflect the API provided by fastmanifest Test Plan: instrumented hybridmanifest::_manifest to call save and it seemed to produce a file. Reviewers: lcharignon Reviewed By: lcharignon Subscribers: mitrandir, mjpieters, #mercurial Differential Revision: https://phabricator.intern.facebook.com/D3262279 Signature: t1:3262279:1462536409:b4c794967b0781ccdd4ec8787a3a85e907f5618d
87 lines
2.4 KiB
Python
87 lines
2.4 KiB
Python
try:
|
|
from setuptools import setup, Extensions
|
|
except ImportError:
|
|
from distutils.core import setup, Extension
|
|
|
|
setup(
|
|
name='fbhgext',
|
|
version='0.1.2',
|
|
author='Durham Goode',
|
|
maintainer='Durham Goode',
|
|
maintainer_email='durham@fb.com',
|
|
url='',
|
|
description='Facebook specific mercurial extensions',
|
|
long_description="",
|
|
keywords='fb hg mercurial',
|
|
license='',
|
|
packages=['phabricator'],
|
|
py_modules=[
|
|
'arcdiff',
|
|
'backups',
|
|
'bundle2hooks',
|
|
'catnotate',
|
|
'chistedit',
|
|
'commitextras',
|
|
'dirsync',
|
|
'errorredirect',
|
|
'extutil',
|
|
'fastmanifest',
|
|
'fbamend',
|
|
'fbconduit',
|
|
'fbhistedit',
|
|
'githelp',
|
|
'gitlookup',
|
|
'gitrevset',
|
|
'inhibitwarn',
|
|
'manifestdiskcache',
|
|
'mergedriver',
|
|
'morestatus',
|
|
'perftweaks',
|
|
'phabdiff',
|
|
'phrevset',
|
|
'phabstatus',
|
|
'pullcreatemarkers',
|
|
'pushrebase',
|
|
'pushvars',
|
|
'rage',
|
|
'reflog',
|
|
'reset',
|
|
'show',
|
|
'simplecache',
|
|
'smartlog',
|
|
'sparse',
|
|
'statprof',
|
|
'tweakdefaults',
|
|
'upgradegeneraldelta',
|
|
],
|
|
ext_modules = [
|
|
Extension('fastmanifest_wrapper',
|
|
sources=['fastmanifest_wrapper.c',
|
|
'fastmanifest/bsearch.c',
|
|
'fastmanifest/buffer.c',
|
|
'fastmanifest/checksum.c',
|
|
'fastmanifest/node.c',
|
|
'fastmanifest/tree.c',
|
|
'fastmanifest/tree_arena.c',
|
|
'fastmanifest/tree_convert.c',
|
|
'fastmanifest/tree_copy.c',
|
|
'fastmanifest/tree_diff.c',
|
|
'fastmanifest/tree_disk.c',
|
|
'fastmanifest/tree_iterator.c',
|
|
'fastmanifest/tree_path.c',
|
|
],
|
|
include_dirs=['fastmanifest',
|
|
'/usr/local/include',
|
|
'/opt/local/include',
|
|
],
|
|
library_dirs=[
|
|
'/usr/local/lib',
|
|
'/opt/local/lib',
|
|
],
|
|
libraries=['crypto',
|
|
],
|
|
extra_compile_args=["-std=c99", "-Wall", "-Werror"],
|
|
)
|
|
],
|
|
)
|