-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMANIFEST.in
99 lines (87 loc) · 3 KB
/
MANIFEST.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# By default, Distutils (the packaging framework, called in setup.py) will include the following files in your release package:
# README.txt
# setup.py
# The .py files needed by the multi-file modules listed in the packages parameter
# The individual .py files listed in the py_modules parameter
# MANIFEST.in commands:
# https://docs.python.org/3/distutils/sourcedist.html#commands
# See explanation in: http://www.diveintopython3.net/packaging.html
# Use .add_data_files and .add_data_dir methods in appropriate
# setup.py files to include non-python files such as documentation,
# data, etc files to distribution. Avoid using MANIFEST.in for that.
# Use check-manifest to detect errors in setup.py:
# https://pypi.python.org/pypi/check-manifest
# Except packaging in Python is a massive pain with incomplete and seemingly
# contradicting docs.
# Include main package and scripts:
recursive-include project_quickstart *.py
# Include scripts in main directory, package info and INI files:
include *.py
include MANIFEST.in
include *.ini
include LICENSE
include INSTALL
include README.rst
include THANKS.rst
include TODO.rst
include COPYING
include *.sh
# Include dependency specifications and Docker:
include external_dependencies.rst
include requirements.txt
include Dockerfile
include Dockerfile_pq_all_tests
# Include project documentation:
recursive-include docs *.html
recursive-include docs *.rst
recursive-include docs *.py
include docs/Makefile
include docs/make.bat
prune docs/_build
# Include files for tests:
include tox.ini
include .travis.yml
include run_travis_tests.sh
recursive-include tests *
# Include addtional files needed, example data, etc.:
include templates/*
include templates/project_template/*
include templates/project_template/docs/*
include templates/project_template/scripts/*
include templates/project_template/tests/*
include templates/project_template/project_template/*
recursive-include templates *.R
recursive-include templates *.bat
recursive-include templates *.ini
recursive-include templates *.py
recursive-include templates *.rst
recursive-include templates Makefile
recursive-include templates/examples *
recursive-include templates *.bib
recursive-include templates *.sh
recursive-include templates *.yml
recursive-include templates *.Rmd
recursive-include templates *.txt
# Files to exclude:
exclude .gitignore
exclude .dir_bash_history
exclude tests/.dir_bash_history
exclude templates/.dir_bash_history
exclude templates/.DS_Store
exclude templates/project_template/.dir_bash_history
exclude templates/project_template/docs/.dir_bash_history
exclude templates/project_template/scripts/.dir_bash_history
exclude templates/project_template/tests/.dir_bash_history
exclude templates/project_template/project_template/.dir_bash_history
recursive-exclude docs *.pdf
recursive-exclude docs *.html
recursive-exclude project_quickstart *.refactor
recursive-exclude * .DS_Store
# Extensions to include:
#include *.pyxbld
#include *.pyx
#include *.h
#include *.cpp
#include *.h
#include *.pxd
#include *.c