Use setuptools if available.

Summary: Because working in a virtualenv w/ setuptools makes things a little easier :)

Test Plan: workon hg && python setup.py develop

Reviewers: rmcelroy, durham

Reviewed By: durham

Differential Revision: https://phabricator.fb.com/D2570341

Signature: t1:2570341:1445542319:0f30cb4aefb7c59753decda4535ca335a4f423cc
This commit is contained in:
James Mills 2015-10-22 08:02:30 -07:00
parent d5c12360a4
commit c6bf360c5c
2 changed files with 5 additions and 1 deletions

View File

@ -2,3 +2,4 @@
\.so$
\.err$
^build/
^.*\.egg-info/

View File

@ -1,4 +1,7 @@
from distutils.core import setup, Extension
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='fbhgext',