forked from nanograv/PINT
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
131 lines (119 loc) · 3.62 KB
/
setup.cfg
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[metadata]
name = pint-pulsar
description = A Pulsar Timing Package, written in Python from scratch
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Luo Jing, Scott Ransom, Paul Demorest, Paul Ray, et al.
author_email = sransom@nrao.edu
url = https://github.com/nanograv/PINT
project_urls =
Documentation = https://nanograv-pint.readthedocs.io/
license = License :: OSI Approved :: BSD License
classifier =
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering :: Astronomy
Topic :: Software Development :: Libraries :: Python Modules
[options]
zip_safe = False
packages = find:
package_dir =
= src
include_package_data = True
python_requires = >=3.8
# These should match requirements.txt
install_requires =
numpy>=1.18.5
astropy>=4.0,!=4.0.1,!=4.0.1.post1
pyerfa
scipy>=1.4.1
jplephem>=2.6
matplotlib>=3.2.0
emcee>=3.0.1
corner>=2.0.1
uncertainties
loguru
nestle>=0.2.0
numdifftools
[options.packages.find]
where = src
[options.package_data]
* = *.*
[options.entry_points]
console_scripts =
photonphase = pint.scripts.photonphase:main
event_optimize = pint.scripts.event_optimize:main
event_optimize_multiple = pint.scripts.event_optimize_multiple:main
pintempo = pint.scripts.pintempo:main
zima = pint.scripts.zima:main
pintbary = pint.scripts.pintbary:main
fermiphase = pint.scripts.fermiphase:main
pintk = pint.scripts.pintk:main
convert_parfile = pint.scripts.convert_parfile:main
compare_parfiles = pint.scripts.compare_parfiles:main
tcb2tdb = pint.scripts.tcb2tdb:main
pintpublish = pint.scripts.pintpublish:main
# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.
[versioneer]
VCS = git
style = pep440
versionfile_source = src/pint/extern/_version.py
versionfile_build = pint/extern/_version.py
tag_prefix = ''
parentdir_prefix = 'pint-'
[bdist_wheel]
universal = 0
[aliases]
test=pytest
[flake8]
max-line-length = 100
# This is an inappropriate non-error for slicing
extend-ignore = E203,
E265
# __init__ doesn't need a docstring, should be in the class
D107
# Other magic methods don't necessarily need docstings, what they do is well-defined
D105
# Style issues, suppress these for a full flake8 run
# E111,E114,E115,E116,E122,E123,E124,E125,E126,E127,E128,E129,E131
# E201,E202,E203,E221,E222,E225,E226,E227,E228,E231,E241,E251,E261,E262,E265,E266,E271,E272
# E301,E302,E303,E305,E306
# E401,E501,E502
# E701,E702,E703,E704,E741
# W291,W293,W391,W503,W504
# D100,D101,D102,D103,D104,D105
# D200,D202,D204,D205,D207,D208,D209,D210
# D300
# D400,D401,D402,D403,D412,D413
# RST201,RST202,RST203,RST210,RST212,RST299
# RST301,RST304,RST306
# Ugh people want to break these rules
N802 # Function names should be lowercase
N803 # argument name should be lowercase
N806 # variable should be lowercase
statistics = True
exclude =
docs/conf.py
versioneer.py
pint/mcmc_fitter.py
rst-roles =
class,
module,
func,
[isort]
multi_line_output = 3
line_length = 88
skip_glob =
src/pint/extern/*
include_trailing_comma = True
combine_as_imports = True