-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (53 loc) · 1.84 KB
/
setup.py
File metadata and controls
58 lines (53 loc) · 1.84 KB
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
47
48
49
50
51
52
53
54
55
56
57
"""Setup configuration for wing_disc_analysis package."""
from setuptools import setup, find_packages
import os
# Read the README file for long description
def read_file(filename):
filepath = os.path.join(os.path.dirname(__file__), filename)
if os.path.exists(filepath):
with open(filepath, 'r', encoding='utf-8') as f:
return f.read()
return ''
# Read requirements
def read_requirements(filename='requirements.txt'):
filepath = os.path.join(os.path.dirname(__file__), filename)
if os.path.exists(filepath):
with open(filepath, 'r', encoding='utf-8') as f:
return [line.strip() for line in f if line.strip() and not line.startswith('#')]
return []
setup(
name='wing_disc_analysis',
version='0.1.0',
author='Wing Disc Analysis Team',
author_email='',
description='Analysis of epithelial cell topology in Drosophila wing disc tissue',
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/yourusername/wing_disc_analysis',
packages=find_packages(where='src'),
package_dir={'': 'src'},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
],
python_requires='>=3.11',
install_requires=read_requirements(),
extras_require={
'dev': [
'pytest>=7.0',
'pytest-cov>=4.0',
'black>=23.0',
'flake8>=6.0',
'mypy>=1.0',
],
},
entry_points={
'console_scripts': [
'wda-eulerian=scripts.run_eulerian_analysis:main',
'wda-lagrangian=scripts.run_lagrangian_analysis:main',
],
},
)