Skip to content

Commit

Permalink
Merge pull request #16 from calebweinreb/versioneer
Browse files Browse the repository at this point in the history
Automatic versioning
  • Loading branch information
calebweinreb authored Jan 6, 2024
2 parents aee2d2a + 86de251 commit e2c12ed
Show file tree
Hide file tree
Showing 5 changed files with 3,057 additions and 33 deletions.
46 changes: 46 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[metadata]
name = snub
author = Caleb Weinreb
author_email = [email protected]
url = https://github.com/dattalab/SNUB
classifiers =
Programming Language :: Python :: 3
Operating System :: OS Independent

[options]
packages = find:
include_package_data = True
python_requires = >=3.8
install_requires =
PyQt5
numpy
scikit-learn
tqdm
cmapy
interlap
numba
vispy
imageio
imageio-ffmpeg
umap-learn
rastermap
ipykernel
pyqtgraph
networkx
opencv-python-headless
vidio>=0.0.3

[options.entry_points]
console_scripts =
snub = snub.gui.main:run

[options.package_data]
* = *.md

[versioneer]
VCS = git
style = pep440
versionfile_source = snub/_version.py
versionfile_build = snub/_version.py
tag_prefix =
parentdir_prefix =
37 changes: 4 additions & 33 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,40 +1,11 @@
import setuptools
import versioneer

with open("README.md", "r") as f:
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()

setuptools.setup(
name="snub",
version="0.0.3",
author="Caleb Weinreb",
author_email="[email protected]",
description="Systems neuro browser",
include_package_data=True,
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
entry_points={"console_scripts": ["snub = snub.gui.main:run"]},
python_requires=">=3.8",
install_requires=[
"PyQt5",
"numpy",
"scikit-learn",
"tqdm",
"cmapy",
"interlap",
"numba",
"vispy",
"imageio",
"imageio-ffmpeg",
"umap-learn",
"rastermap",
"ipykernel",
"pyqtgraph",
"networkx",
"opencv-python-headless",
"vidio>=0.0.3",
],
url="https://github.com/calebweinreb/SNUB",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
)
4 changes: 4 additions & 0 deletions snub/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
from . import io
from . import gui

from . import _version

__version__ = _version.get_versions()["version"]
Loading

0 comments on commit e2c12ed

Please sign in to comment.