sapling/setup.py

97 lines
2.7 KiB
Python
Raw Normal View History

try:
from setuptools import setup, Extensions
except ImportError:
from distutils.core import setup, Extension
2013-06-20 23:16:36 +04:00
setup(
2013-06-20 23:57:57 +04:00
name='fbhgext',
version='0.1.2',
2013-06-20 23:16:36 +04:00
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',
],
2014-05-24 01:39:33 +04:00
py_modules=[
'arcdiff',
2014-05-24 01:39:33 +04:00
'backups',
'bundle2hooks',
'catnotate',
'chistedit',
2015-04-30 20:14:52 +03:00
'commitextras',
2015-11-03 01:58:06 +03:00
'dirsync',
'errorredirect',
'extutil',
2014-05-24 01:39:33 +04:00
'fbamend',
2015-05-14 23:04:08 +03:00
'fbconduit',
'fbhistedit',
2014-05-24 01:39:33 +04:00
'githelp',
'gitlookup',
'gitrevset',
'inhibitwarn',
'manifestdiskcache',
2015-10-15 10:37:45 +03:00
'mergedriver',
2015-10-07 00:04:01 +03:00
'morestatus',
'nointerrupt',
'patchpython',
2015-09-30 00:22:46 +03:00
'perftweaks',
2014-12-03 20:33:02 +03:00
'phabdiff',
2014-05-24 01:39:33 +04:00
'phrevset',
'phabstatus',
'pullcreatemarkers',
'pushrebase',
2015-05-20 01:24:37 +03:00
'pushvars',
'rage',
2014-10-10 22:32:17 +04:00
'reflog',
2014-10-30 01:01:02 +03:00
'reset',
'sampling',
'show',
'simplecache',
2014-05-24 01:39:33 +04:00
'smartlog',
2014-12-03 00:50:22 +03:00
'sparse',
2015-09-07 23:46:29 +03:00
'statprof',
'statprofext',
'tweakdefaults',
2014-12-18 00:40:52 +03:00
'upgradegeneraldelta',
2014-05-24 01:39:33 +04:00
],
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"],
)
],
2013-06-20 23:16:36 +04:00
)