-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
54 lines (45 loc) · 1.82 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
"""Packaging config for Hypothesmith."""
import os
import setuptools
def local_file(name: str) -> str:
"""Interpret filename as relative to this file."""
return os.path.relpath(os.path.join(os.path.dirname(__file__), name))
SOURCE = local_file("src")
README = local_file("README.md")
with open(local_file("src/hypothesmith/__init__.py")) as o:
for line in o:
if line.startswith("__version__"):
_, __version__, _ = line.split('"')
setuptools.setup(
name="hypothesmith",
version=__version__,
author="Zac Hatfield-Dodds",
author_email="[email protected]",
packages=setuptools.find_packages(SOURCE),
package_dir={"": SOURCE},
package_data={"": ["py.typed", "python.lark"]},
url="https://github.com/Zac-HD/hypothesmith",
project_urls={"Funding": "https://github.com/sponsors/Zac-HD"},
license="MPL 2.0",
description="Hypothesis strategies for generating Python programs, something like CSmith",
zip_safe=False,
install_requires=["hypothesis[lark]>=6.93.0", "libcst>=1.0.1"],
python_requires=">=3.8",
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: Hypothesis",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python",
"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",
"Topic :: Software Development :: Testing",
],
long_description=open(README).read(),
long_description_content_type="text/markdown",
keywords="python testing fuzzing property-based-testing",
)