Skip to content

Commit 24e6446

Browse files
committed
Merge branch 'feature/issue-11-fix-source-dists' into develop
2 parents 9bfb99c + db43586 commit 24e6446

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
install:
77
- pip install coveralls
88
- pip install -r requirements.pip
9+
- pip install -r requirements-dev.pip
910
script:
1011
- ./run-tests.sh
1112
after_success:

LICENCE renamed to LICENSE

File renamed without changes.

MANIFEST.in

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
exclude test/*
2-
exclude tests.py
3-
exclude *.egg-info/*
4-
include LICENCE
1+
# Source distribution files.
2+
include LICENSE
53
include README.rst
6-
include requirements.pip
4+
include requirements.pip requirements-dev.pip
5+
include setup.py setup.cfg
6+
7+
exclude test/*

requirements-dev.pip

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nose
2+
coverage
3+
pep8

requirements.pip

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
nose
2-
coverage
3-
pep8
1+
# Our dependencies are all specified in setup.py.
2+
-e .

setup.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
from setuptools import setup, find_packages
33

44

5-
def listify(filename):
6-
filepath = os.path.join(os.path.dirname(__file__), filename)
7-
return filter(None, open(filepath, 'r').readlines())
8-
9-
105
def read_file(filename):
116
filepath = os.path.join(os.path.dirname(__file__), filename)
127
return open(filepath, 'r').read()
@@ -21,7 +16,8 @@ def read_file(filename):
2116
author='Praekelt Foundation',
2217
author_email='[email protected]',
2318
packages=find_packages(),
24-
install_requires=['setuptools'].extend(listify('requirements.pip')),
19+
install_requires=[
20+
],
2521
classifiers=[
2622
'Development Status :: 4 - Beta',
2723
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)