-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
executable file
·46 lines (42 loc) · 1.29 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
#!/usr/bin/env python3
import os
import subprocess
from setuptools import setup, find_packages
module_name = "volare"
__dir__ = os.path.abspath(os.path.dirname(__file__))
version = subprocess.check_output(
[
"python3",
os.path.join(
__dir__,
module_name,
"__version__.py",
),
],
encoding="utf8",
)
requirements = (
open(os.path.join(__dir__, "requirements.txt")).read().strip().split("\n")
)
setup(
name=module_name,
packages=find_packages(),
package_data={"volare": ["py.typed"]},
version=version,
description="An open_pdks PDK builder/version manager",
long_description=open(os.path.join(__dir__, "Readme.md")).read(),
long_description_content_type="text/markdown",
author="Efabless Corporation",
author_email="donn@efabless.com",
install_requires=requirements,
extras_require={"truststore": ["truststore"]}, # Python 3.10+
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
],
entry_points={"console_scripts": ["volare = volare.__main__:cli"]},
python_requires=">3.6",
)