Skip to content

Commit

Permalink
Added missing initial_data.json to source distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanBalfanz committed Sep 17, 2012
1 parent 273283d commit 033393a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include sendgrid/fixtures/initial_data.json
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@

import sendgrid as distmeta

packages, data_files = find_packages(exclude=("example_project",)), []
packages = find_packages(exclude=("example_project",))
data_files = []
root_dir = os.path.dirname(__file__)

if root_dir != '':
os.chdir(root_dir)
src_dir = "sendgrid"


if os.path.exists("README.rst"):
long_description = codecs.open("README.rst", "r", "utf-8").read()
else:
long_description = "See http://ryanbalfanz.github.com/django-sendgrid/"


setup(
name='django-sendgrid',
version=distmeta.__version__,
Expand All @@ -35,6 +35,8 @@
platforms=["any"],
# license="BSD",
packages=packages,
package_dir={'sendgrid': 'sendgrid'},
package_data={'sendgrid': ['fixtures/initial_data.json']},
data_files=data_files,
long_description=long_description,
)

0 comments on commit 033393a

Please sign in to comment.