-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
118 lines (114 loc) · 5.3 KB
/
setup.py
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import os
import re
from setuptools import setup
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
readme = f.read()
f.close()
f = open(os.path.join(os.path.dirname(__file__), 'wandbox/__init__.py'))
for line in f:
if '__version__ = ' in line:
version_ = [x for x in re.split(r"[ =']", line) if x][1]
elif '__author__ = ' in line:
author_ = [x for x in re.split(r"[ =']", line) if x][1]
f.close()
test_deps = ['importlib-metadata>=0.12,<9', 'tox<4', 'tox-pyenv', 'pytest']
setup(
name = "wandbox-api"
, version = version_
, author = author_
, author_email = "[email protected]"
, url = "https://github.com/srz-zumix/wandbox-api/"
, description = "A Python binding to the Wandbox API."
, license = "MIT"
, platforms = ["any"]
, keywords = "API, Wandbox"
, packages = ['wandbox']
, long_description = readme
, long_description_content_type='text/markdown'
, classifiers = [
"Development Status :: 4 - Beta"
, "Topic :: Utilities"
, "License :: OSI Approved :: MIT License"
, "Programming Language :: Python"
, "Programming Language :: Python :: 3.7"
, "Programming Language :: Python :: 3.8"
, "Programming Language :: Python :: 3.9"
, "Programming Language :: Python :: 3.10"
]
, entry_points={
'console_scripts': [
'wandbox = wandbox.__main__:main',
'wandbox-bash = wandbox.__bash__:main',
'wandbox-cc = wandbox.__cc__:main',
'wandbox-gcc = wandbox.__cc__:gcc',
'wandbox-clang = wandbox.__cc__:clang',
'wandbox-cxx = wandbox.__cxx__:main',
'wandbox-g++ = wandbox.__cxx__:gcc',
'wandbox-clang++ = wandbox.__cxx__:clang',
# 'wandbox-cmake = wandbox.__cmake__:main',
# 'wandbox-coffee = wandbox.__coffee__:main',
'wandbox-CPP = wandbox.__cpp__:main',
'wandbox-gcc-PP = wandbox.__cpp__:gcc',
'wandbox-clang-PP = wandbox.__cpp__:clang',
'wandbox-crystal = wandbox.__crystal__:main',
'wandbox-cs = wandbox.__csharp__:main',
'wandbox-dmd = wandbox.__dmd__:dmd',
# 'wandbox-gdmd = wandbox.__dmd__:gdmd',
'wandbox-ldmd2 = wandbox.__dmd__:ldmd2',
'wandbox-dub = wandbox.__dub__:main',
'wandbox-elixir = wandbox.__elixir__:main',
'wandbox-mix = wandbox.__elixir__:mix',
'wandbox-erlc = wandbox.__erlang__:main',
'wandbox-erlang = wandbox.__erlang__:main',
'wandbox-fsharpc = wandbox.__fsharp__:main',
'wandbox-ghc = wandbox.__ghc__:main',
'wandbox-stack = wandbox.__ghc__:haskell_stack',
'wandbox-go = wandbox.__go__:main',
'wandbox-groovy = wandbox.__groovy__:main',
'wandbox-java = wandbox.__java__:main',
'wandbox-js = wandbox.__js__:main',
'wandbox-node = wandbox.__js__:node',
'wandbox-spidermonkey = wandbox.__js__:spidermonkey',
'wandbox-julia = wandbox.__julia__:main',
'wandbox-lazyk = wandbox.__lazyk__:main',
'wandbox-sbcl = wandbox.__lisp__:main',
'wandbox-clisp = wandbox.__lisp__:clisp',
'wandbox-lua = wandbox.__lua__:main',
'wandbox-luajit = wandbox.__lua__:luajit',
'wandbox-nim = wandbox.__nim__:main',
'wandbox-ocaml = wandbox.__ocaml__:main',
'wandbox-ocamlopt = wandbox.__ocaml__:main',
'wandbox-ssl = wandbox.__openssl__:main',
'wandbox-fpc = wandbox.__pascal__:main',
'wandbox-perl = wandbox.__perl__:main',
'wandbox-php = wandbox.__php__:main',
'wandbox-ponyc = wandbox.__pony__:main',
'wandbox-python = wandbox.__python__:main',
'wandbox-python2 = wandbox.__python__:python2',
'wandbox-python3 = wandbox.__python__:python3',
'wandbox-pypy = wandbox.__python__:pypy',
'wandbox-pypy2 = wandbox.__python__:pypy2',
'wandbox-pypy3 = wandbox.__python__:pypy3',
'wandbox-rscript = wandbox.__r__:main',
'wandbox-ruby = wandbox.__ruby__:main',
'wandbox-mruby = wandbox.__ruby__:mruby',
'wandbox-rustc = wandbox.__rust__:main',
'wandbox-cargo = wandbox.__rust__:cargo',
'wandbox-scalac = wandbox.__scala__:main',
'wandbox-sqlite = wandbox.__sql__:main',
'wandbox-sqlite3 = wandbox.__sql__:main',
'wandbox-swift = wandbox.__swift__:main',
'wandbox-tsc = wandbox.__tsc__:main',
'wandbox-vim = wandbox.__vim__:main',
'wandbox-zig = wandbox.__zig__:main',
'wandbox-status = wandbox.__status__:main',
]
}
, install_requires=['requests', 'pyyaml', 'toml', 'ndjson']
, tests_require=test_deps
, test_suite="tests.test_suite"
, extras_require={
'test': test_deps
}
, python_requires=">3.5"
)