From 432c2eca291f6d34a57966691d896b23bcdaa4e8 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Nov 10 2015 09:56:13 +0000 Subject: [PATCH 1/2] Fix setup.py; Use setuptools instead of disutils install_requires is supported by setuptools instead of disutils --- diff --git a/setup.py b/setup.py index bd4b2b5..bdebdd2 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,9 @@ # -*- coding: utf-8 -*- -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup setup( From efffbe8345a11ada64fb88d6aaa8f1e7a14a703c Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Nov 10 2015 09:57:24 +0000 Subject: [PATCH 2/2] add build directory to .gitignore --- diff --git a/.gitignore b/.gitignore index 42cb09b..76eb55d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,10 @@ - .idea/.name - .idea/libpagure.iml - .idea/misc.xml - .idea/modules.xml - .idea/vcs.xml - .idea/workspace.xml - MANIFEST - dist/libpagure-v0.11.tar.gz - *.gz +build