Skip to content

Commit

Permalink
Add files and setting for packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarcruz committed Jul 5, 2015
1 parent 82b7f47 commit 31f2a97
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include LICENSE
include README.rst
recursive-include world_regions/static *
recursive-include world_regions/fixtures *
recursive-include world_regions/templates *
recursive-include docs *
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Django
django-countries
36 changes: 36 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
__author__ = 'juliocesar'

import os
from setuptools import setup

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
name='django-world-regions',
version='0.1',
packages=['world_regions'],
include_package_data=True,
license="MIT License",
description="Simple Django app to group countries in world's regions like *Northern America*, "
"*Eastern Europe*, etc.",
long_description=README,
url='https://github.com/cesarcruz/django-world-regions',
author="Julio Cesar Rodriguez",
author_email='[email protected]',
install_requires=['django-countries'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
# TODO: Test if this work in python 3 and versions older than 2.7, then include it here
],
)
1 change: 1 addition & 0 deletions world_regions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__author__ = 'juliocesar'

0 comments on commit 31f2a97

Please sign in to comment.