Commit 949a766c authored by Marius Gedminas's avatar Marius Gedminas

Fix MANIFEST.in and remove workaround from setup.py

parent bea796f3
include *.txt include *.txt
include *.rst
recursive-include docs * recursive-include docs *
recursive-include persistent * recursive-include persistent *
...@@ -7,3 +8,9 @@ global-exclude *.dll ...@@ -7,3 +8,9 @@ global-exclude *.dll
global-exclude *.pyc global-exclude *.pyc
global-exclude *.pyo global-exclude *.pyo
global-exclude *.so global-exclude *.so
include .coveragerc
include .travis.yml
include buildout.cfg
include tox.ini
include *.py
...@@ -25,12 +25,11 @@ from setuptools import setup ...@@ -25,12 +25,11 @@ from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
def _read_file(filename): def _read_file(filename):
try:
with open(os.path.join(here, filename)) as f: with open(os.path.join(here, filename)) as f:
return f.read() return f.read()
except IOError: # Travis???
return ''
README = (_read_file('README.rst') + '\n\n' + _read_file('CHANGES.rst')) README = (_read_file('README.rst') + '\n\n' + _read_file('CHANGES.rst'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment