support setup.py install with git archive tarballs

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2013-08-02 14:33:40 +09:00
parent 193a0496c1
commit 55aa474893
1 changed files with 3 additions and 0 deletions

View File

@ -15,8 +15,11 @@
# limitations under the License.
import setuptools
import os
from ryu import version
os.environ["PBR_VERSION"] = str(version)
setuptools.setup(name='ryu',
setup_requires=['d2to1', 'pbr'],
d2to1=True)