This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
99 lines (96 loc) · 4.15 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#!/usr/bin/env python
"""A catalog of open data related to the US energy system."""
from pathlib import Path
from setuptools import find_packages, setup
readme_path = Path(__file__).parent / "README.rst"
long_description = readme_path.read_text()
setup(
name="catalystcoop.pudl_catalog",
use_scm_version=True,
description=__doc__,
long_description=long_description,
long_description_content_type="text/x-rst",
author="Catalyst Cooperative",
author_email="[email protected]",
maintainer="Zane A. Selvans",
maintainer_email="[email protected]",
url="https://github.com/catalyst-cooperative/pudl-catalog",
project_urls={
"Source": "https://github.com/catalyst-cooperative/pudl-catalog",
"Documentation": "https://catalystcoop-pudl-catalog.readthedocs.io",
"Issue Tracker": "https://github.com/catalyst-cooperative/pudl-catalog/issues",
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
],
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
package_data={"": ["*.yml", "*.yaml"]},
zip_safe=False,
python_requires=">=3.8,<3.12",
install_requires=[
"boto3>=1.24.59,<2",
"s3fs>=2021.7,<2022.11.1",
"gcsfs>=2021.7,<2022.11.1",
"intake>=0.6.6,<0.7",
"intake_parquet>=0.2.3,<0.3",
"intake_sqlite>=0.2.0,<0.3",
"msgpack>=1,<2",
"sqlalchemy>=1.3,<2",
],
extras_require={
"dev": [
"black>=22,<23", # A deterministic code formatter
"isort>=5,<6", # Standardized import sorting
"tox>=3.20,<5", # Python test environment manager
"twine>=3.3,<5.0", # Used to make releases to PyPI
],
"docs": [
"doc8>=0.9,<1.1", # Ensures clean documentation formatting
"furo>=2022.4.7",
"sphinx>=4.0,<5.4", # The default Python documentation redering engine
"sphinx-autoapi>=1.8,<2.1", # Generates documentation from docstrings
"sphinx-issues>=1.2,<4.0", # Allows references to GitHub issues
],
"tests": [
"bandit>=1.6,<2", # Checks code for security issues
"coverage>=5.3,<8", # Lets us track what code is being tested
"doc8>=0.9,<1.1", # Ensures clean documentation formatting
"flake8>=4,<7", # A framework for linting & static analysis
"flake8-builtins>=1.5,<3", # Avoid shadowing Python built-in names
"flake8-colors>=0.1.9,<0.2", # Produce colorful error / warning output
"flake8-docstrings>=1.5,<2", # Ensure docstrings are formatted well
"flake8-rst-docstrings>=0.2,<0.4", # Allow use of ReST in docstrings
"flake8-use-fstring>=1,<2", # Highlight use of old-style string formatting
"mccabe>=0.6,<0.8", # Checks that code isn't overly complicated
"pandas>=1.4,<1.6",
"pep8-naming>=0.12,<0.14", # Require PEP8 compliant variable names
"pre-commit>=2.9,<3", # Allow us to run pre-commit hooks in testing
"pydocstyle>=5.1,<7", # Style guidelines for Python documentation
"pytest>=6.2,<8", # Our testing framework
"pytest-cov>=2.10,<5.0", # Pytest plugin for working with coverage
"rstcheck[sphinx]>=5,<7", # ReStructuredText linter
"tox>=3.20,<5", # Python test environment manager
],
},
setup_requires=["setuptools_scm"],
entry_points={
"intake.catalogs": [
"pudl_cat = pudl_catalog:pudl_cat",
]
},
)