-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (43 loc) · 1.2 KB
/
setup.py
File metadata and controls
51 lines (43 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/python3
from setuptools import find_packages
from distutils.core import setup
import os
with open("README.md") as r:
README=r.read()
with open("VERSION") as v:
_v=v.read()
files=[]
for p,d,f in os.walk("psmlc"):
for fs in f:
files.append(fs)
Dirs=["Documents", "obj", "vim-plugins"]
for Dir in Dirs:
for p,d,f in os.walk(os.path.join("psmlc",Dir)):
for fs in f:
files.append(os.path.join(Dir, fs))
_v.replace("\n","")
setup(
author="Lone_air",
author_email="Lone_air_Use@outlook.com",
name="psmlc",
packages=["psmlc"],
package_data={"psmlc":files},
version=_v,
license="GPLv2.0",
url="https://github.com/lone-air/psml",
description="A simpile python server markup language",
long_description=README,
long_description_content_type="text/markdown",
python_requires=">=3.6",
install_requires=[
"flask",
"bottle",
"beaker"
],
entry_points={
"console_scripts":[
"psml=psmlc.psml:_start",
"psmlweb=psmlc.psml_web:run_server"
]
}
)