Browse Source

Move MANIFEST.in out from setup.py into its own file

This was in setup.py to reduce litter in the root directory, but it's
simpler to keep it how it's supposed to be.
tags/nilmdb-2.0.0
Jim Paris 2 years ago
parent
commit
90ee127c87
3 changed files with 25 additions and 34 deletions
  1. +0
    -4
      .gitignore
  2. +25
    -0
      MANIFEST.in
  3. +0
    -30
      setup.py

+ 0
- 4
.gitignore View File

@@ -16,10 +16,6 @@ nilmdb/server/rbtree.c
dist/
nilmdb.egg-info/

# This gets generated as needed by setup.py
MANIFEST.in
MANIFEST

# Misc
timeit*out


+ 25
- 0
MANIFEST.in View File

@@ -0,0 +1,25 @@
# 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 *

+ 0
- 30
setup.py View File

@@ -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',


Loading…
Cancel
Save