Permalink
Browse files

update setup.py + add CHANGES

  • Loading branch information...
1 parent 0884587 commit c1e185dd5b5604c928221cfc76bba67f143cf7fe @areski areski committed Oct 3, 2012
Showing with 46 additions and 9 deletions.
  1. +15 −0 CHANGES.txt
  2. +2 −0 MANIFEST.in
  3. +3 −7 README.rst
  4. +17 −0 country_dialcode/__init__.py
  5. +9 −2 setup.py
View
@@ -0,0 +1,15 @@
+Changelog
+=========
+
+0.4 (2012-10-03)
+------------------
+
+* Add travis.yml file
+* Improve setup.py and update manifest
+* Add MakeFile
+
+
+0.3 (2012-01-13)
+----------------
+
+* Import project
View
@@ -5,3 +5,5 @@ recursive-include country_dialcode/templatetags *
recursive-include country_dialcode/fixtures *
recursive-include country_dialcode/tests *
+include README.rst
+include MIT-LICENSE.txt
View
@@ -40,8 +40,8 @@ In your models add the following ::
Contributing
============
-If you've found a bug, implemented/improved a feature and think it is useful
-then please consider contributing. Patches, pull requests or just suggestions
+If you've found a bug, implemented/improved a feature and think it is useful
+then please consider contributing. Patches, pull requests or just suggestions
are welcome!
Source code: http://github.com/Star2Billing/django-country-dialcode
@@ -70,9 +70,5 @@ django-country-dialcode is licensed under MIT, see `MIT-LICENSE.txt`.
Credit
======
-Django-country-dialcode is a Star2Billing-Sponsored Community Project, for more information visit
+Django-country-dialcode is a Star2Billing-Sponsored Community Project, for more information visit
http://www.star2billing.com or email us at info@star2billing.com
-
-
-
-
@@ -0,0 +1,17 @@
+# -*- coding: utf-8 -*-
+
+#
+# The Initial Developer of the Original Code is
+# Arezqui Belaid <info@star2billing.com>
+#
+
+# :copyright: (c) 2012 by Arezqui Belaid.
+# :license: MIT, see MIT-LICENSE.txt for more details.
+
+
+VERSION = (0, 4, 0, "")
+__version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:])
+__author__ = "Arezqui Belaid"
+__contact__ = "areski@gmail.com"
+__homepage__ = "https://github.com/Star2Billing/django-country-dialcode"
+__docformat__ = "restructuredtext"
View
@@ -1,7 +1,13 @@
from setuptools import setup
import os
+import codecs
import sys
import re
+from country_dialcode import __version__ as version
+
+
+def read(*parts):
+ return codecs.open(os.path.join(os.path.dirname(__file__), *parts)).read()
# Compile the list of packages available, because distutils doesn't have
@@ -49,13 +55,14 @@ def parse_dependency_links(file_name, install_flag=False):
if sys.argv[1] == "install":
install_flag = True
-version = '0.3.1'
+version = '0.4.0'
setup(
name='django-country-dialcode',
version=version,
- description='Application providing Dialcode and Countries code',
+ description='Django Application providing Dialcode and Countries code',
+ long_description=read('README.rst'),
author='Belaid Arezqui',
author_email='areski@gmail.com',
url='http://github.com/Star2Billing/django-country-dialcode',

0 comments on commit c1e185d

Please sign in to comment.