-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (30 loc) · 982 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
31
32
33
34
35
36
37
# -*- coding: utf-8 -*-
"""
@author: bugra
"""
import setuptools
# with open("README.md", "r", encoding="utf-8") as fh:
# long_description = fh.read()
def parse_requirements(filename):
with open(filename, encoding='utf-8') as fid:
requires = [line.strip() for line in fid.readlines() if line]
return requires
def readme():
with open('README.txt') as f:
return f.read()
requirements = parse_requirements('requirements.txt')
setuptools.setup(
name = 'ZarrSeg',
version = '0.0.1',
author = 'Bugra Özdemir',
author_email = 'bugraa.ozdemir@gmail.com',
description = 'A package for segmentation of OME-Zarr datasets.',
long_description = readme(),
long_description_content_type = "text/markdown",
url = 'https://github.com/Euro-BioImaging/ZarrSeg',
# license = 'MIT',
packages = setuptools.find_packages(),
include_package_data=True,
install_requires = requirements,
scripts=["ZarrSeg/zseg"]
)