-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
30 lines (28 loc) · 817 Bytes
/
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
import os
from setuptools import setup, find_packages
# Version-keeping code
curdir = os.path.abspath(os.path.dirname(__file__))
MAJ = 0
MIN = 0
REV = 0
VERSION = '%d.%d.%d' % (MAJ, MIN, REV)
with open(os.path.join(curdir, 'scPyDR/version.py'), 'w') as fout:
fout.write(
"\n".join(["",
"# THIS FILE IS GENERATED FROM SETUP.PY",
"version = '{version}'",
"__version__ = version"]).format(version=VERSION)
)
# Setup function
setup(
name='scPyDR',
version=VERSION,
description='CSE185 Final Project',
author='Anushka Sheoran, Isabel Wang, Monica Park',
packages=find_packages(),
entry_points={
"console_scripts": [
"scpydr=scPyDR.scPyDR:main" # Entry point for command-line script
],
},
)