-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
46 lines (40 loc) · 1.4 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
41
42
43
44
45
46
#!/usr/bin/python3
pkgname="normalisr"
pkgnamefull="Normalisr Offers Robust Modelling of Associations Linearly In Single-cell RNA-seq"
version=[1,0,0]
license="BSD-3-Clause"
url="https://github.com/lingfeiwang/"+pkgname
author="Lingfei Wang"
author_email="[email protected]"
def pkg_setup():
from setuptools import setup
from os import path
pkgnameu=pkgname[0].upper()+pkgname[1:].lower()
with open(path.join(path.abspath(path.dirname(__file__)),'README.rst'),encoding='utf-8') as f:
long_description=f.read()
setup(name=pkgname,
version='.'.join(map(str,version)),
author=author,
author_email=author_email,
description=pkgnamefull,
long_description=long_description,
long_description_content_type='text/x-rst',
url=url,
# download_url=url,
scripts=['bin/normalisr'],
# include_package_data=True,
install_requires=['numpy','scipy','pandas','scikit-learn','biothings_client','goatools>=0.7.11'],
classifiers=['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Environment :: Console',
# 'Framework :: Pytest',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Bio-Informatics'],
license=license,
packages=[pkgname],
package_dir={pkgname:path.join('src',pkgname)},
)
pkg_setup()