mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
c31ecacde9
Summary: I plan to use it to ensure proper loading ordr in case of sqldirstate Test Plan: ~/clowncopter/tests/run-tests.py -j 30 Reviewers: #mercurial, ttung, durham, rmcelroy Reviewed By: rmcelroy Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D3472358 Signature: t1:3472358:1466637677:3b8b5a89ef7dfbcde4a1e7b8ea58348b07a6a969
98 lines
2.7 KiB
Python
98 lines
2.7 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=[
|
|
'fastmanifest',
|
|
'phabricator',
|
|
'sqldirstate',
|
|
],
|
|
py_modules=[
|
|
'arcdiff',
|
|
'backups',
|
|
'bundle2hooks',
|
|
'catnotate',
|
|
'chistedit',
|
|
'commitextras',
|
|
'dirsync',
|
|
'errorredirect',
|
|
'extorder',
|
|
'extutil',
|
|
'fbamend',
|
|
'fbconduit',
|
|
'fbhistedit',
|
|
'githelp',
|
|
'gitlookup',
|
|
'gitrevset',
|
|
'inhibitwarn',
|
|
'manifestdiskcache',
|
|
'mergedriver',
|
|
'morestatus',
|
|
'nointerrupt',
|
|
'patchpython',
|
|
'perftweaks',
|
|
'phabdiff',
|
|
'phrevset',
|
|
'phabstatus',
|
|
'pullcreatemarkers',
|
|
'pushrebase',
|
|
'pushvars',
|
|
'rage',
|
|
'reflog',
|
|
'reset',
|
|
'sampling',
|
|
'show',
|
|
'simplecache',
|
|
'smartlog',
|
|
'sparse',
|
|
'statprof',
|
|
'statprofext',
|
|
'tweakdefaults',
|
|
'upgradegeneraldelta',
|
|
],
|
|
ext_modules = [
|
|
Extension('cfastmanifest',
|
|
sources=['cfastmanifest.c',
|
|
'cfastmanifest/bsearch.c',
|
|
'cfastmanifest/buffer.c',
|
|
'cfastmanifest/checksum.c',
|
|
'cfastmanifest/node.c',
|
|
'cfastmanifest/tree.c',
|
|
'cfastmanifest/tree_arena.c',
|
|
'cfastmanifest/tree_convert.c',
|
|
'cfastmanifest/tree_copy.c',
|
|
'cfastmanifest/tree_diff.c',
|
|
'cfastmanifest/tree_disk.c',
|
|
'cfastmanifest/tree_iterator.c',
|
|
'cfastmanifest/tree_path.c',
|
|
],
|
|
include_dirs=['cfastmanifest',
|
|
'/usr/local/include',
|
|
'/opt/local/include',
|
|
],
|
|
library_dirs=[
|
|
'/usr/local/lib',
|
|
'/opt/local/lib',
|
|
],
|
|
libraries=['crypto',
|
|
],
|
|
extra_compile_args=[
|
|
"-std=c99",
|
|
"-Wall",
|
|
"-Werror", "-Werror=strict-prototypes"],
|
|
)
|
|
],
|
|
)
|