Skip to content

Add a "doc" extra for documentation build dependencies #1872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Group setup.py imports
While setuptools has official status, it is not actually part of
the standard library (and since Python 3.12 cannot be treated as if
it is, since it is not installed by default), so its imports belong
in the second group rather than the first, per PEP-8.
  • Loading branch information
EliahKagan committed Mar 13, 2024
commit 1b43166951caac29ed223c9d1522534626b3598e
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/usr/bin/env python

import os
import sys
from typing import Sequence

from setuptools import setup, find_packages
from setuptools.command.build_py import build_py as _build_py
from setuptools.command.sdist import sdist as _sdist
import os
import sys


with open(os.path.join(os.path.dirname(__file__), "VERSION"), encoding="utf-8") as ver_file:
VERSION = ver_file.readline().strip()
Expand Down