Skip to content

Commit b2c8183

Browse files
committed
MNT release 0.1
1 parent 3927195 commit b2c8183

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
.pytest_cache
77
__pycache__
88
.vscode/
9+
build/
10+
dist/
911

1012
# Documentation build
1113
doc/_build/

README.rst

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ To explore these tutorials, one can:
1919

2020
- read the rendered examples in the tutorials
2121
`website <https://gallantlab.github.io/voxelwise_tutorials/>`_ (recommended)
22-
(not online yet, ask Tom the local link)
2322
- run the Python scripts located in the `tutorials <tutorials>`_ directory
2423
- run the Jupyter notebooks located in the
2524
`tutorials/notebooks <tutorials/notebooks>`_ directory

setup.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import re
2+
from pathlib import Path
23
from setuptools import find_packages, setup
34

45
# get version from voxelwise_tutorials/__init__.py
@@ -10,6 +11,10 @@
1011
match = re.search(r"__version__ = '([^']*)'", line)
1112
__version__ = match.groups()[0]
1213

14+
# read the contents of the README file
15+
this_directory = Path(__file__).parent
16+
long_description = (this_directory / "README.rst").read_text()
17+
1318
requirements = [
1419
"numpy",
1520
"scipy",
@@ -19,8 +24,8 @@
1924
"networkx",
2025
"nltk",
2126
"pycortex",
22-
"himalaya @ git+https://github.com/gallantlab/himalaya@main#egg=himalaya",
23-
"pymoten @ git+https://github.com/gallantlab/pymoten@main#egg=pymoten",
27+
"himalaya",
28+
"pymoten",
2429
]
2530

2631
if __name__ == "__main__":
@@ -33,4 +38,6 @@
3338
version=__version__,
3439
packages=find_packages(),
3540
install_requires=requirements,
41+
long_description=long_description,
42+
long_description_content_type='text/x-rst',
3643
)

voxelwise_tutorials/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.1'
1+
__version__ = '0.1.0'

0 commit comments

Comments
 (0)