-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (28 loc) · 1.02 KB
/
setup.py
File metadata and controls
30 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from setuptools import setup, find_packages
import os
# Function to read the version from __version__.py
def get_version(package_name):
version_file = os.path.join(os.path.dirname(__file__), 'src', package_name, '__version__.py')
with open(version_file) as f:
exec(f.read())
return locals()['__version__']
setup(name='STUF',
version=get_version('STUF'), # Dynamically read the version
description='Spatial transcriptomics Useful Functions (STUF) makes simple tasks easy',
long_description=open("README.md").read(),
long_description_content_type='text/markdown',
author='Patrick Cahan',
author_email='patrick.cahan@gmail.com',
license='MIT',
packages=find_packages(where='src'),
package_dir={'': 'src'},
install_requires=[
'numpy',
'matplotlib',
'scanpy',
],
project_urls={
'Documentation': 'https://cahanlab-stuf.readthedocs-hosted.com/',
'Source': 'https://github.com/CahanLab/STUF'
},
)