summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-02-20 13:04:30 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-02-20 13:04:30 -0500
commit8f6446b1e45ad69ecd255cac3d9b9939127c91c2 (patch)
tree9302b52f9488f313beb453ff42d3a0b03401dbdf
parent67402a674220b8639a04dc0c0b2f87fd301a817f (diff)
Use MANIFEST.in instead of setup.py to hold the docs and text files.
-rw-r--r--MANIFEST.in5
-rw-r--r--setup.py6
2 files changed, 5 insertions, 6 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..fe99812
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,5 @@
+include *.txt
+include doc/Makefile
+include doc/source/*.py
+include doc/source/*.rst
+include doc/source/*.jpg
diff --git a/setup.py b/setup.py
index 49b82fb..46d5ff2 100644
--- a/setup.py
+++ b/setup.py
@@ -15,12 +15,6 @@ setup(name="beautifulsoup4",
long_description="""Beautiful Soup sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree.""",
license="MIT",
packages=['bs4', 'bs4.builder', 'bs4.tests'],
-# package_data={
-# "bs4": ["doc/source/*.jpg", "doc/source/*.rst",
-# "doc/source/*.py", "doc/Makefile"]
-# },
-# data_files=[
-# ('', ['COPYING.txt', 'NEWS.txt', 'AUTHORS.txt', 'README.txt'])],
cmdclass = {'build_py':build_py},
classifiers=["Development Status :: 4 - Beta",
"Intended Audience :: Developers",