-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (61 loc) · 1.89 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
62
63
from setuptools import find_packages, setup
# Read the contents of README file
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
# Basic package information
name="flag-coverage-filtering",
version="0.1.0",
author="Suejung Shin",
author_email="",
description="A package for flag coverage filtering",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/flag-coverage-filtering",
# Package discovery and dependencies
packages=find_packages(exclude=["tests*", "docs"]),
python_requires=">=3.8",
install_requires=[
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
],
# Development dependencies
extras_require={
"dev": [
"black>=23.7.0",
"isort>=5.12.0",
"flake8>=6.1.0",
"mypy>=1.5.1",
],
"test": [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
],
},
# Entry points (CLI commands)
entry_points={
"console_scripts": [
"flag-filter=flag_coverage_filtering.cli:main",
],
},
# Package metadata
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
# Additional package data
package_data={
"flag_coverage_filtering": ["py.typed", "*.json"],
},
# Project URLs
project_urls={
"Bug Reports": "https://github.com/yourusername/flag-coverage-filtering/issues",
"Source": "https://github.com/yourusername/flag-coverage-filtering",
},
)