Skip to content

Commit

Permalink
Lint setup file.
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed Sep 10, 2024
1 parent d0786e3 commit 33b0604
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"""Statistical learning for tractometry data, especially within the AFQ software ecosystem."""
import os.path as op
import string

from setuptools import setup
import string
import os.path as op
import glob
from setuptools_scm import get_version


Expand All @@ -22,15 +20,12 @@ def local_version(version):
return ""


opts = dict(
use_scm_version={
"root": ".",
"relative_to": __file__,
opts = {
"use_scm_version": {
"write_to": op.join("afqinsight", "_version.py"),
"local_scheme": local_version,
},
scripts=[op.join("bin", op.split(f)[-1]) for f in glob.glob("bin/*")],
)
}
}


if __name__ == "__main__":
Expand Down

0 comments on commit 33b0604

Please sign in to comment.