|
|
@@ -54,36 +54,6 @@ for modulename in cython_modules: |
|
|
|
"Try installing cython >= 0.16.") |
|
|
|
ext_modules.append(Extension(modulename, [ cfile ])) |
|
|
|
|
|
|
|
# We need a MANIFEST.in. Generate it here rather than polluting the |
|
|
|
# repository with yet another setup-related file. |
|
|
|
with open("MANIFEST.in", "w") as m: |
|
|
|
m.write(""" |
|
|
|
# Root |
|
|
|
include README.txt |
|
|
|
include setup.cfg |
|
|
|
include setup.py |
|
|
|
include versioneer.py |
|
|
|
include Makefile |
|
|
|
include .coveragerc |
|
|
|
include .pylintrc |
|
|
|
|
|
|
|
# Cython files -- include source. |
|
|
|
recursive-include nilmdb/server *.pyx *.pyxdep *.pxd |
|
|
|
|
|
|
|
# Version |
|
|
|
include nilmdb/_version.py |
|
|
|
|
|
|
|
# Tests |
|
|
|
recursive-include tests *.py |
|
|
|
recursive-include tests/data * |
|
|
|
include tests/test.order |
|
|
|
|
|
|
|
# Docs |
|
|
|
recursive-include docs Makefile *.md |
|
|
|
|
|
|
|
# Extras |
|
|
|
recursive-include extras * |
|
|
|
""") |
|
|
|
|
|
|
|
# Run setup |
|
|
|
setup(name='nilmdb', |
|
|
|