-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (34 loc) · 1.11 KB
/
setup.py
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
31
32
33
34
35
36
37
38
39
40
from setuptools import setup, find_packages
import os
import re
def get_version():
init_py = open(os.path.join('civis', '__init__.py')).read()
return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name="civis",
version=get_version(),
packages=find_packages(exclude=['templates', '.idea']),
include_package_data=True,
install_requires=requirements,
author="Bo Yuan",
author_email="boy6@illinois.edu",
description="A visualization server for Calcium Imaging data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/boyuan99/CIVisServer",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
entry_points={
'console_scripts': [
'civis=civis.app:main',
],
},
)