Skip to content

Commit

Permalink
Remove setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rafelafrance committed Feb 9, 2024
1 parent 323922a commit 564a3aa
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 40 deletions.
5 changes: 3 additions & 2 deletions flora/parse_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
import textwrap
from pathlib import Path

from pylib.labels import Labels
from pylib.writers.label_html_writer import HtmlWriter
from traiter.pylib.darwin_core import DarwinCore
from util.pylib import log

from flora.pylib.labels import Labels
from flora.pylib.writers.label_html_writer import HtmlWriter


def main():
log.started()
Expand Down
5 changes: 3 additions & 2 deletions flora/parse_treatments.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
import textwrap
from pathlib import Path

from pylib.treatments import Treatments
from pylib.writers.treatment_html_writer import HtmlWriter
from traiter.pylib.darwin_core import DarwinCore
from util.pylib import log

from flora.pylib.treatments import Treatments
from flora.pylib.writers.treatment_html_writer import HtmlWriter


def main():
log.started()
Expand Down
5 changes: 3 additions & 2 deletions flora/util_add_taxon_terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
from zipfile import ZIP_DEFLATED, ZipFile

import regex
from pylib import const
from pylib.rules import terms
from tqdm import tqdm
from traiter.pylib import log
from traiter.pylib import term_util as tu
from traiter.pylib.rules import terms as t_terms

from flora.pylib import const
from flora.pylib.rules import terms

ITIS_SPECIES_ID = 220


Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ optional-dependencies.dev = [
"ruff-lsp",
]

[tool.setuptools.packages.find]
where = ["."]
include = ["flora"]
namespaces = false

[project.scripts]
parse-labels = "flora.parse_labels:main"
parse-treatments = "flora.parse_treatments:main"
Expand Down
34 changes: 0 additions & 34 deletions setup.py

This file was deleted.

0 comments on commit 564a3aa

Please sign in to comment.