forked from bytecodealliance/wasmtime-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (50 loc) · 1.8 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
import setuptools
import os
with open("README.md", "r") as fh:
long_description = fh.read()
version = "0.4.0"
# Give unique version numbers to all commits so our publication-on-each commit
# works on master
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,
python_requires='>=2.7',
test_suite="tests",
extras_require={
'testing': [
'coverage',
'pytest',
],
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Compilers',
'Topic :: Software Development :: Interpreters',
'Programming Language :: Rust',
]
)