diff --git a/conf/config.json b/conf/config.json deleted file mode 100755 index 7e438eb..0000000 --- a/conf/config.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "debug":true, - "databases":{ - "aiocfae":{ - "driver":"aiomysql", - "async_mode":true, - "coding":"utf8", - "dbname":"cfae", - "kwargs":{ - "user":"test", - "db":"cfae", - "password":"test123", - "host":"localhost" - } - }, - "cfae":{ - "driver":"mysql.connector", - "coding":"utf8", - "dbname":"cfae", - "kwargs":{ - "user":"test", - "db":"cfae", - "password":"test123", - "host":"localhost" - } - } - }, - "filesroot":"$[workdir]$/files", - "website":{ - "paths":[ - ["$[workdir]$/../usedpkgs/antd","/antd"], - ["$[workdir]$/../wolon",""] - ], - "host":"0.0.0.0", - "port":8080, - "coding":"utf-8", - "ssl_gg":{ - "crtfile":"$[workdir]$/conf/www.bsppo.com.pem", - "keyfile":"$[workdir]$/conf/www.bsppo.com.key" - }, - "indexes":[ - "index.html", - "index.tmpl", - "index.dspy", - "index.md" - ], - "dbrest":"/dbs", - "download":"/download", - "visualcoding":{ - "default_root":"/samples/vc/test", - "userroot":{ - "ymq":"/samples/vc/ymq", - "root":"/samples/vc/root" - }, - "jrjpath":"/samples/vc/default" - }, - "processors":[ - [".xlsxds","xlsxds"], - [".sqlds","sqlds"], - [".tmpl.js","tmpl"], - [".tmpl.css","tmpl"], - [".html.tmpl","tmpl"], - [".tmpl","tmpl"], - [".dspy","dspy"], - [".md","md"] - ], - "startswith":{ - "/thumb":{ - "registerfunction":"makeThumb", - "options":{ - "width":256, - "keep_ratio":1 - } - } - } - }, - "langMapping":{ - "zh-Hans-CN":"zh-cn", - "zh-CN":"zh-cn", - "en-us":"en", - "en-US":"en" - } -} diff --git a/i18n/en/msg.txt b/i18n/en/msg.txt deleted file mode 100755 index e69de29..0000000 diff --git a/i18n/zh-cn/msg.txt b/i18n/zh-cn/msg.txt deleted file mode 100755 index e69de29..0000000 diff --git a/requirements.txt b/requirements.txt deleted file mode 100755 index 6353db8..0000000 --- a/requirements.txt +++ /dev/null @@ -1,17 +0,0 @@ -asyncio -aiofiles -aiodns -# cchardet -aiohttp==3.10.10 -aiohttp_session -aiohttp_auth_autz -aiohttp-cors -aiomysql -aioredis -psycopg2-binary -aiopg -jinja2 -ujson -openpyxl -pillow -py-natpmp diff --git a/setup.py b/setup.py deleted file mode 100755 index 9502411..0000000 --- a/setup.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- - -from distutils.core import setup -try: - from setuptools import setup, find_packages -except: - from distutils.core import setup - -from ahserver.version import __version__ -# usage: -# python setup.py bdist_wininst generate a window executable file -# python setup.py bdist_egg generate a egg file -# Release information about eway - -version = __version__ -name = "ahserver" -description = "ahserver" -author = "yumoqing" -email = "yumoqing@gmail.com" - -required = [] -with open('requirements.txt', 'r') as f: - ls = f.read() - required = ls.split('\n') - -packages=find_packages() -package_data = {} - -with open("README.md", "r") as fh: - long_description = fh.read() - -setup( - name=name, - version=version, - # uncomment the following lines if you fill them out in release.py - description=description, - author=author, - author_email=email, - - install_requires=required, - packages=packages, - package_data=package_data, - keywords = [ - ], - url="https://github.com/yumoqing/ahserver", - long_description=long_description, - long_description_content_type="text/markdown", - classifiers = [ - 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3', - 'License :: OSI Approved :: MIT License', - ], -)