Skip to content

Commit

Permalink
Deprecate ez_setup.py file
Browse files Browse the repository at this point in the history
This file was initially intended as a fallback for environments
without python-setuptools installed. It's not used anymore, since
we assume that python-setuptools will be present on every machine
running this program. Hence, it is added as a dependency to the
project documentation.

Closes #62
  • Loading branch information
Fernando Álvarez committed Feb 17, 2015
1 parent 1a16e67 commit f975a3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 283 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -9,6 +9,7 @@ Dependencies
------------

* python 2.6.x or 2.7.x
* python-setuptools
* pip


Expand Down
276 changes: 0 additions & 276 deletions ez_setup.py

This file was deleted.

8 changes: 1 addition & 7 deletions setup.py
Expand Up @@ -7,15 +7,9 @@

import os
import sys
from setuptools import setup, find_packages
from cctrl.version import __version__

try:
from setuptools import setup, find_packages
except ImportError:
import ez_setup

ez_setup.use_setuptools()
from setuptools import setup, find_packages

execfile(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'cctrl', 'version.py'))

Expand Down

0 comments on commit f975a3b

Please sign in to comment.