3 'Create Gentoo ebuilds for Python packages by querying PyPI'
5 from distutils.core import setup, Command
10 except ImportError, e:
12 sys.stdout.write(str(e)+'\n')
15 from g_pypi import __version__
18 if nose: # add a `test` command
19 class TestCommand(Command):
20 description = "run the test suite with nose"
23 def initialize_options(self):
26 def finalize_options(self):
30 nose.run(argv=['setup.py test', '-vv', '.'])
32 cmdclass = {'test': TestCommand}
42 long_description=open('README', 'r').read(),
43 maintainer='Rob Cakebread',
44 author='Rob Cakebread',
45 author_email='gentoodev@gmail.com',
46 url='http://code.google.com/p/g-pypi/',
47 keywords=('gentoo ebuilds PyPI setuptools cheeseshop distutils eggs '
48 'portage package management'),
50 'Development Status :: 2 - Pre-Alpha',
51 'Intended Audience :: Developers',
52 'License :: OSI Approved :: GNU General Public License (GPL)',
53 'Programming Language :: Python',
54 'Topic :: Software Development :: Libraries :: Python Modules',
65 package_data={'g_pypi':['ebuild.tmpl']},
66 scripts=['scripts/g-pypi'],