-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (33 loc) · 1.12 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
#!/usr/bin/env python
import os
import re
from setuptools import setup, find_packages
readme = open("README.rst").read()
def get_version():
VERSIONFILE = os.path.join("veritas", "__init__.py")
VSRE = r"""^__version__ = ['"]([^'"]*)['"]"""
version_file = open(VERSIONFILE, "rt").read()
return re.search(VSRE, version_file, re.M).group(1)
setup(
name="veritas",
version=get_version(),
description="an executable implementation of the throwaway `_`",
long_description=readme,
license="BSD",
author="lonnen",
url="https://github.com/lonnen/veritas",
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
test_suite="tests",
)