forked from bytecodealliance/wasmtime-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (56 loc) · 1.98 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
# type: ignore
import setuptools
import os
with open("README.md", "r") as fh:
long_description = fh.read()
with open("VERSION", "r") as fh:
version = fh.read().strip()
# Give unique version numbers to all commits so our publication-on-each commit
# works on main
if 'PROD' not in os.environ:
stream = os.popen('git rev-list HEAD --count')
output = stream.read()
version += '.dev' + output.strip()
setuptools.setup(
name="wasmtime",
version=version,
author="The Wasmtime Project Developers",
author_email="[email protected]",
description="A WebAssembly runtime powered by Wasmtime",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache-2.0 WITH LLVM-exception",
url="https://github.com/bytecodealliance/wasmtime-py",
project_urls={
"Bug Tracker": "https://github.com/bytecodealliance/wasmtime-py/issues",
"Documentation": "https://bytecodealliance.github.io/wasmtime-py/",
"Source Code": "https://github.com/bytecodealliance/wasmtime-py",
},
packages=['wasmtime'],
include_package_data=True,
package_data={"wasmtime": ["py.typed"]},
python_requires='>=3.6',
test_suite="tests",
extras_require={
'testing': [
'coverage',
'pytest',
'pycparser',
'pytest-flake8',
'pytest-mypy',
],
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Compilers',
'Topic :: Software Development :: Interpreters',
'Programming Language :: Rust',
]
)