import shop_categories CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', ] setup( name='django-shop-categories-08eins-custom', version=shop_categories.get_version(), description='A extendable category app using django-mptt for django-shop', long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(), author='Oyvind Saltvik', author_email='*****@*****.**', url='http://github.com/08EINS/django-shop-categories/', packages=find_packages(), package_data={ 'shop_categories': [ 'templates/shop_categories/*', 'locale/*/LC_MESSAGES/*', ] }, classifiers=CLASSIFIERS, include_package_data=True, zip_safe=False,
#!/usr/bin/env python from djeasytests.testsetup import TestSetup import shop_categories settings = dict( SITE_ID=1, ROOT_URLCONF='shop_categories.test_utils.project.urls', INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.staticfiles', 'treeadmin', 'shop_categories', 'shop_categories.test_utils.project' ], SHOP_PRODUCT_MODEL = 'shop_categories.test_utils.project.models.product.Product', SHOP_CATEGORIES_CATEGORY_MODEL = 'shop_categories.test_utils.project.models.category.Category' ) testsetup = TestSetup(appname='shop_categories', test_settings=settings, version=shop_categories.get_version()) if __name__ == '__main__': testsetup.run(__file__)