File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 6
6
.pytest_cache
7
7
__pycache__
8
8
.vscode /
9
+ build /
10
+ dist /
9
11
10
12
# Documentation build
11
13
doc /_build /
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ To explore these tutorials, one can:
19
19
20
20
- read the rendered examples in the tutorials
21
21
`website <https://gallantlab.github.io/voxelwise_tutorials/ >`_ (recommended)
22
- (not online yet, ask Tom the local link)
23
22
- run the Python scripts located in the `tutorials <tutorials >`_ directory
24
23
- run the Jupyter notebooks located in the
25
24
`tutorials/notebooks <tutorials/notebooks >`_ directory
Original file line number Diff line number Diff line change 1
1
import re
2
+ from pathlib import Path
2
3
from setuptools import find_packages , setup
3
4
4
5
# get version from voxelwise_tutorials/__init__.py
10
11
match = re .search (r"__version__ = '([^']*)'" , line )
11
12
__version__ = match .groups ()[0 ]
12
13
14
+ # read the contents of the README file
15
+ this_directory = Path (__file__ ).parent
16
+ long_description = (this_directory / "README.rst" ).read_text ()
17
+
13
18
requirements = [
14
19
"numpy" ,
15
20
"scipy" ,
19
24
"networkx" ,
20
25
"nltk" ,
21
26
"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" ,
24
29
]
25
30
26
31
if __name__ == "__main__" :
33
38
version = __version__ ,
34
39
packages = find_packages (),
35
40
install_requires = requirements ,
41
+ long_description = long_description ,
42
+ long_description_content_type = 'text/x-rst' ,
36
43
)
Original file line number Diff line number Diff line change 1
- __version__ = '0.1'
1
+ __version__ = '0.1.0 '
You can’t perform that action at this time.
0 commit comments