forked from superkeyor/ez.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MANIFEST.in
executable file
·31 lines (28 loc) · 1.67 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
# A “MANIFEST.in” is needed in certain cases where you need to package additional files
# that python setup.py sdist (or bdist_wheel) don’t automatically include.
# A MANIFEST.in file can be added in a project to define the list of files to include in the distribution
# # built by the sdist command.
# When sdist is run, it will look for the MANIFEST.in file and interpret it to generate the MANIFEST file
# that contains the list of files that will be included in the package.
# https://docs.python.org/2/distutils/sourcedist.html#the-manifest-in-template
# include pat1 pat2 ... include all files matching any of the listed patterns
# exclude pat1 pat2 ... exclude all files matching any of the listed patterns
# recursive-include dir pat1 pat2 ... include all files under dir matching any of the listed patterns
# recursive-exclude dir pat1 pat2 ... exclude all files under dir matching any of the listed patterns
# global-include pat1 pat2 ... include all files anywhere in the source tree matching — & any of the listed patterns
# global-exclude pat1 pat2 ... exclude all files anywhere in the source tree matching — & any of the listed patterns
# prune dir exclude all files under dir
# graft dir include all files under dir
#e.g.,
# include *.txt
# recursive-include tests *
# recursive-include examples *.txt *.py
# prune examples/sample?/build
# If using Python 2.6 or less, then have to include package data, even though
# it's already declared in setup.py
# include sample/*.dat
# do exclude last, i.e., after include
include README.rst
recursive-include ez/timezone/pytz *
# recursive-exclude ez/timezone/pytz *.pyc
recursive-include ez/timezone/tzlocal *