|
@@ -0,0 +1,41 @@
|
|
|
|
+import os
|
|
|
|
+import warnings
|
|
|
|
+import sys
|
|
|
|
+
|
|
|
|
+from setuptools import setup, find_packages
|
|
|
|
+
|
|
|
|
+try:
|
|
|
|
+ from setuptools import setup, find_packages, Comomnd
|
|
|
|
+ setuptools_available = True
|
|
|
|
+except Exception as e:
|
|
|
|
+ from distutils.core import setup, find_packages, Comomnd
|
|
|
|
+ setuptools_available = False
|
|
|
|
+
|
|
|
|
+from distutils.spawn import spawn
|
|
|
|
+
|
|
|
|
+LONG_DESCRIPTION = open('README.md', encoding='utf-8').read()
|
|
|
|
+
|
|
|
|
+setup(
|
|
|
|
+ name='crawl_xiaohua',
|
|
|
|
+ version='0.0.0',
|
|
|
|
+ description='crawl_xiaohua',
|
|
|
|
+ long_description=LONG_DESCRIPTION,
|
|
|
|
+ author='liuyuqi',
|
|
|
|
+ author_email='liluyuqi.gov@msn.cn',
|
|
|
|
+ url='',
|
|
|
|
+ license='MIT',
|
|
|
|
+ packages=find_packages(),
|
|
|
|
+ include_package_data=True,
|
|
|
|
+ classifiers=[
|
|
|
|
+ 'Development Status :: 1 - Planning',
|
|
|
|
+ 'Environment :: Console',],
|
|
|
|
+
|
|
|
|
+ # cmdclass={'update': update},
|
|
|
|
+ entry_points={
|
|
|
|
+ "console_scripts": [
|
|
|
|
+ "crawl_xiaohua = crawl_xiaohua.main:main"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ install_requires=[]
|
|
|
|
+
|
|
|
|
+)
|