Skip to content

Commit

Permalink
deporting metadata into the package
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Sep 21, 2011
1 parent 97bb207 commit 0f5571f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
8 changes: 8 additions & 0 deletions emencia/django/newsletter/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""emencia.django.newsletter"""
__version__ = '0.3.dev'
__license__ = 'BSD License'

__author__ = 'Fantomas42'
__email__ = 'fantomas42@gmail.com'

__url__ = 'http://emencia.fr/'
22 changes: 12 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import os
from setuptools import setup, find_packages
from setuptools import setup
from setuptools import find_packages

from emencia.django import newsletter

version = '0.3.dev'

setup(name='emencia.django.newsletter',
version=version,
description="A Django app for sending newsletter by email to a contact list.",
long_description=open("README.rst").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
version=newsletter.__version__,
description='A Django app for sending newsletter by email to a contact list.',
long_description=open('README.rst').read() + '\n' +
open(os.path.join('docs', 'HISTORY.txt')).read(),
keywords='django, newsletter, mailing',
classifiers=[
'Framework :: Django',
Expand All @@ -19,11 +21,11 @@
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Libraries :: Python Modules',],

author='Fantomas42',
author_email='fantomas42@gmail.com',
url='http://emencia.fr',
author=newsletter.__author__,
author_email=newsletter.__email__,
url=newsletter.__url__,

license='BSD License',
license=newsletter.__license__,
packages=find_packages(exclude=['demo']),
namespace_packages=['emencia', 'emencia.django'],
include_package_data=True,
Expand Down

0 comments on commit 0f5571f

Please sign in to comment.