Skip to content

Commit

Permalink
Move setuptools import to the top. Thanks iksaif
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Jul 19, 2012
1 parent 1d29c10 commit c79e95d
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
raise
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages # noqa
from setuptools.command.test import test # noqa

import os
import sys
import codecs
Expand Down Expand Up @@ -33,16 +44,6 @@
pass


try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
raise
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages # noqa
from setuptools.command.test import test # noqa

NAME = 'celery'
entrypoints = {}
extra = {}
Expand Down

0 comments on commit c79e95d

Please sign in to comment.