mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 16:14:45 +00:00
add MANIFEST for source distributions
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3478 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
980fe1ea31
commit
e1b2fe298b
2 changed files with 13 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
include README INSTALL LICENSE TODO MANIFEST.in MANIFEST ChangeLog
|
||||
include README INSTALL LICENSE TODO ChangeLog
|
||||
include config/linkchecker-completion config/create.sql
|
||||
include config/linkcheckerrc config/linkcheck-cron.sh
|
||||
include config/logging.conf config/pycheckrc config/pylintrc
|
||||
|
|
|
|||
12
setup.py
12
setup.py
|
|
@ -39,6 +39,7 @@ from distutils.command.install_data import install_data
|
|||
from distutils.command.build_ext import build_ext
|
||||
from distutils.command.build import build
|
||||
from distutils.command.clean import clean
|
||||
from distutils.command.sdist import sdist
|
||||
from distutils.dir_util import remove_tree
|
||||
from distutils.file_util import write_file
|
||||
from distutils.sysconfig import get_python_version
|
||||
|
|
@ -441,6 +442,16 @@ class MyClean (clean, object):
|
|||
clean.run(self)
|
||||
|
||||
|
||||
class MySdist (sdist, object):
|
||||
"""
|
||||
Custom sdist command.
|
||||
"""
|
||||
|
||||
def get_file_list (self):
|
||||
super(MySdist, self).get_file_list()
|
||||
self.filelist.append("MANIFEST")
|
||||
|
||||
|
||||
# global include dirs
|
||||
include_dirs = []
|
||||
# global macros
|
||||
|
|
@ -543,6 +554,7 @@ o a (Fast)CGI web interface (requires HTTP server)
|
|||
'build_ext': MyBuildExt,
|
||||
'build': MyBuild,
|
||||
'clean': MyClean,
|
||||
'sdist': MySdist,
|
||||
},
|
||||
packages = ['linkcheck', 'linkcheck.logger', 'linkcheck.checker',
|
||||
'linkcheck.director', 'linkcheck.configuration',
|
||||
|
|
|
|||
Loading…
Reference in a new issue