Commits

Éric Araujo  committed 836ae90

* Clean up setup.*

  • Participants
  • Parent commits 917b851

Comments (0)

Files changed (2)

 public = True
 
 [files]
-packages = 
+packages =
 	pyramid_facebook
 	pyramid_facebook.tests
 	pyramid_facebook.tests.unittests
 	pyramid_facebook.tests.functional
-extra_files = 
+extra_files =
 	setup.py
 
 [nosetests]
 verbosity = 3
 with-id = 1
 with-yanc = 1
-
 # -*- coding: utf-8 -*-
 import setuptools
 
-# Distribute *must* be installed (create your virtualenv with --distribute).
-if not hasattr(setuptools, "_distribute"):
-    raise SystemExit(
-        """Setuptools is not supported.
-        Please install Distribute (create your virtualenv with --distribute)"""
-    )
-
+# this mixes setup deps with test deps, but our internal test tool
+# (based on nosetests) was not working properly with test deps
 setup_requires = [
     'd2to1',
     'nose',
     'mock',
     'webtest',
     'yanc',
-    ]
+]
 
 setuptools.setup(
     setup_requires=setup_requires,
     d2to1=True,
-    test_suite="nose.collector",
-    package_data={'pyramid_facebook': [
-        ]},
-    paster_plugins=['pyramid'],
-    )
+    test_suite='nose.collector',
+)