Просмотр исходного кода

Update setup.py and add MANIFEST file

sh4nks 8 лет назад
Родитель
Сommit
f38e19a050
2 измененных файлов с 15 добавлено и 5 удалено
  1. 10 0
      MANIFEST.in
  2. 5 5
      setup.py

+ 10 - 0
MANIFEST.in

@@ -0,0 +1,10 @@
+include LICENSE
+include AUTHORS
+include CHANGES
+include README.md
+graft flaskbb
+prune flaskbb/themes/*/node_modules
+prune flaskbb/themes/*/.sass-cache
+prune flaskbb/themes/*/src/*
+global-exclude __pycache__
+global-exclude *.py[co]

+ 5 - 5
setup.py

@@ -23,7 +23,7 @@ Resources
 * `issues <https://github.com/sh4nks/flaskbb/issues>`_
 * `issues <https://github.com/sh4nks/flaskbb/issues>`_
 
 
 """
 """
-from setuptools import setup
+from setuptools import setup, find_packages
 from setuptools.command.test import test as TestCommand
 from setuptools.command.test import test as TestCommand
 import sys
 import sys
 
 
@@ -51,11 +51,11 @@ setup(
     version='1.0.dev0',
     version='1.0.dev0',
     url='http://github.com/sh4nks/flaskbb/',
     url='http://github.com/sh4nks/flaskbb/',
     license='BSD',
     license='BSD',
-    author='sh4nks',
-    author_email='sh4nks7@gmail.com',
-    description='A forum software written with flask',
+    author='Peter Justin',
+    author_email='peter.justin@outlook.com',
+    description='A classic Forum Software in Python using Flask.',
     long_description=__doc__,
     long_description=__doc__,
-    packages=['flaskbb'],
+    packages=find_packages(),
     include_package_data=True,
     include_package_data=True,
     zip_safe=False,
     zip_safe=False,
     platforms='any',
     platforms='any',