-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (32 loc) · 1016 Bytes
/
setup.py
File metadata and controls
38 lines (32 loc) · 1016 Bytes
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
#from distutils.core import setup
from setuptools import setup, find_packages
import os
import io
def _read(*parts, **kwargs):
filepath = os.path.join(os.path.dirname(__file__), *parts)
encoding = kwargs.pop('encoding', 'utf-8')
with io.open(filepath, encoding=encoding) as fh:
text = fh.read()
return text
def get_requirements(path):
content = _read(path)
return [
req
for req in content.split("\n")
if req != "" and not (req.startswith("#") or req.startswith("-"))
]
install_requires = get_requirements('requirements.txt')
setup(
name='faust',
version='0.1dev',
author='Samuel C. Markson',
author_email='smarkson@alum.mit.edu',
install_requires=install_requires,
extras_require={"GUI": ["PySide6", "matplotlib"]},
packages=find_packages(),
scripts=['scripts/faust'],
license='BSD',
description='for CRISPR screen analysis',
include_package_data = True,
long_description=open('README.rst').read(),
)