Skip to content

Commit

Permalink
Avoid package import in setup.py (install issues!)
Browse files Browse the repository at this point in the history
Include demo files in install
  • Loading branch information
robinandeer committed Aug 20, 2014
1 parent 67a007d commit c94bbf7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ values =
gamma

[bumpversion:file:chanjo/__init__.py]
[bumpversion:file:setup.py]

2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ recursive-include requirements *
recursive-include tests *
recursive-exclude * *.py[co]

recursive-include chanjo/demo *

recursive-include docs *.rst conf.py Makefile make.bat
19 changes: 10 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from setuptools.command.test import test as TestCommand
import sys

import chanjo

# Shortcut for building/publishing to Pypi
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel upload')
Expand Down Expand Up @@ -43,29 +41,32 @@ def run_tests(self):


setup(
name=chanjo.__title__,
name='chanjo',

# Versions should comply with PEP440. For a discussion on
# single-sourcing the version across setup.py and the project code,
# see http://packaging.python.org/en/latest/tutorial.html#version
version=chanjo.__version__,
version='2.0.0-beta',

description=chanjo.__summary__,
description='Coverage analysis tool for clinical sequencing',
long_description=long_description,
# What does your project relate to? Separate with spaces.
keywords='coverage sequencing clinical exome completeness diagnostics',
author=chanjo.__author__,
author_email=chanjo.__email__,
license=chanjo.__license__,
author='Robin Andeer',
author_email='robin.andeer@gmail.com',
license='MIT',

# The project's main homepage
url=chanjo.__uri__,
url='http://www.chanjo.co/',

packages=find_packages(exclude=('tests*', 'docs', 'examples')),

# If there are data files included in your packages that need to be
# installed, specify them here.
include_package_data=True,
package_data=dict(
chanjo='demo/*'
),
zip_safe=False,

install_requires=[
Expand Down

0 comments on commit c94bbf7

Please sign in to comment.