def test_get_packages(self):
        self.assertTrue(hasattr(setupextras, 'get_packages'))
        self.assertTrue(callable(setupextras.get_packages))

        result = setupextras.get_packages()

        self.assertDeepEqual(result, ['setupextras', 'setupextras.tests'])

        foo_package_path = helper.fixture_path()

        result = setupextras.get_packages(foo_package_path)

        self.assertDeepEqual(result, [])

        foo_package_path = helper.fixture_path('foo')

        result = setupextras.get_packages(foo_package_path)

        self.assertDeepEqual(result, [])
Example #2
0
    'server-url',
    'connection',
    'database',
    'server',
    'uri',
    'url',
    'serializer',
    'deserializer',
    'packer',
    'unpacker',
    'stringifier',
    'parser',
    'multi-host',
]

packages = setupextras.get_packages()
data_files = setupextras.get_data_files(['*.*'],
                                        os.path.join(name, 'tests',
                                                     '__fixtures__'))
requirements = setupextras.get_requirements()
readme = setupextras.get_readme()

config = {
    'name':
    name,
    'version':
    version,
    'description': (description),
    'keywords':
    keywords,
    'author':