Repository: nanograv/enterprise (language: python)

Issue:
Do we need the `jplephem` dependency
@nanograv/enterprise, as far as I can tell the `jplephem` package isn't needed. It is imported anywhere in the code and I can run the tests without it.


Discussion / hints:

Fix patch:
diff --git a/MANIFEST.in b/MANIFEST.in
index 3785d90d..0917c35d 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -2,7 +2,7 @@ include AUTHORS.rst
 
 include CONTRIBUTING.rst
 include LICENSE
-include README.rst
+include README.md
 
 recursive-include tests *
 recursive-exclude * __pycache__
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..b84544c3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,61 @@
+# enterprise
+
+![PyPI](https://img.shields.io/pypi/v/enterprise-pulsar)
+![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/enterprise-pulsar)
+[![Build Status](https://github.com/nanograv/enterprise/workflows/CI-Tests/badge.svg)](https://github.com/nanograv/enterprise/actions)
+[![Documentation Status](https://readthedocs.org/projects/enterprise/badge/?version=latest)](https://enterprise.readthedocs.io/en/latest/?badge=latest)
+[![Test Coverage](https://codecov.io/gh/nanograv/enterprise/branch/master/graph/badge.svg?token=YXSX3293VF)](https://codecov.io/gh/nanograv/enterprise)
+![Python Versions](https://img.shields.io/badge/python-3.6%2C%203.7%2C%203.8%2C%203.9-blue.svg)
+
+[![Zenodo DOI 4059815](https://zenodo.org/badge/DOI/10.5281/zenodo.4059815.svg)](https://doi.org/10.5281/zenodo.4059815)
+
+ENTERPRISE (Enhanced Numerical Toolbox Enabling a Robust PulsaR
+Inference SuitE) is a pulsar timing analysis code, aimed at noise
+analysis, gravitational-wave searches, and timing model analysis.
+
+-   Note: `enterprise>=3.0` does not support Python2.7. You must use
+    Python \>= 3.6.
+-   Free software: MIT license
+-   Documentation: <https://enterprise.readthedocs.io>.
+
+## Installation
+
+To install via `pip`, some non-python dependencies are required. See the
+[libstempo](https://github.com/vallis/libstempo#pip-install) and
+[scikit-sparse](https://github.com/scikit-sparse/scikit-sparse#with-pip)
+documentation for more info on how to install these dependencies. Once
+these are installed, you can do
+
+```bash
+pip install enterprise-pulsar
+```
+
+To install via `conda`, simply do
+
+```bash
+conda install -c conda-forge enterprise-pulsar
+```
+
+## Attribution
+
+If you make use of this software, please cite it:
+
+    Ellis, J. A., Vallisneri, M., Taylor, S. R., & Baker, P. T. (2020, September 29). ENTERPRISE: Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE (v3.0.0). Zenodo. http://doi.org/10.5281/zenodo.4059815
+
+
+    @misc{enterprise,
+      author       = {Justin A. Ellis and Michele Vallisneri and Stephen R. Taylor and Paul T. Baker},
+      title        = {ENTERPRISE: Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE},
+      month        = sep,
+      year         = 2020,
+      howpublished = {Zenodo},
+      doi          = {10.5281/zenodo.4059815},
+      url          = {https://doi.org/10.5281/zenodo.4059815}
+    }
+
+## Credits
+
+This package was created with
+[Cookiecutter](https://github.com/audreyr/cookiecutter) and the
+[audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage)
+project template.
diff --git a/README.rst b/README.rst
deleted file mode 100644
index dce8f2c7..00000000
--- a/README.rst
+++ /dev/null
@@ -1,56 +0,0 @@
-===============================
-enterprise
-===============================
-
-.. image:: https://github.com/nanograv/enterprise/workflows/CI-Tests/badge.svg
-        :target: https://github.com/nanograv/enterprise/actions
-        :alt: Build Status
-.. image:: https://readthedocs.org/projects/enterprise/badge/?version=latest
-        :target: https://enterprise.readthedocs.io/en/latest/?badge=latest
-        :alt: Documentation Status
-
-.. image:: https://codecov.io/gh/nanograv/enterprise/branch/master/graph/badge.svg?token=YXSX3293VF
-        :target: https://codecov.io/gh/nanograv/enterprise
-        :alt: Test Coverage
-.. image:: https://img.shields.io/badge/python-3.6%2C%203.7%2C%203.8%2C%203.9-blue.svg
-        :alt: Python Versions
-
-.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4059815.svg
-       :target: https://doi.org/10.5281/zenodo.4059815
-       :alt: Zenodo DOI 4059815
-
-ENTERPRISE (Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE)
-is a pulsar timing analysis code, aimed at noise analysis, gravitational-wave
-searches, and timing model analysis.
-
-* Note: `enterprise >= 3.0` does not support `Python2.7`.  You must use `Python >= 3.6`.
-
-* Free software: MIT license
-* Documentation: https://enterprise.readthedocs.io.
-
-
-Attribution
------------
-If you make use of this software,  please cite it::
-
-    Ellis, J. A., Vallisneri, M., Taylor, S. R., & Baker, P. T. (2020, September 29). ENTERPRISE: Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE (v3.0.0). Zenodo. http://doi.org/10.5281/zenodo.4059815
-
-
-    @misc{enterprise,
-      author       = {Justin A. Ellis and Michele Vallisneri and Stephen R. Taylor and Paul T. Baker},
-      title        = {ENTERPRISE: Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE},
-      month        = sep,
-      year         = 2020,
-      howpublished = {Zenodo},
-      doi          = {10.5281/zenodo.4059815},
-      url          = {https://doi.org/10.5281/zenodo.4059815}
-    }
-
-
-Credits
----------
-
-This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
-
-.. _Cookiecutter: https://github.com/audreyr/cookiecutter
-.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
diff --git a/requirements.txt b/requirements.txt
index 03b5a131..5d6d808e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,6 @@
 numpy>=1.16.3
 scipy>=1.2.0
 ephem>=3.7.6.0
-jplephem==2.6
 healpy>=1.14.0
 scikit-sparse>=0.4.5
 pint-pulsar>=0.8.2
diff --git a/setup.py b/setup.py
index 1d5a05af..e8380b32 100644
--- a/setup.py
+++ b/setup.py
@@ -3,14 +3,13 @@
 
 from setuptools import setup
 
-with open("README.rst", encoding="utf-8") as readme_file:
+with open("README.md", encoding="utf-8") as readme_file:
     readme = readme_file.read()
 
 requirements = [
     "numpy>=1.16.3",
     "scipy>=1.2.0",
     "ephem>=3.7.6.0",
-    "jplephem==2.6",
     "healpy>=1.14.0",
     "scikit-sparse>=0.4.5",
     "pint-pulsar>=0.8.2",
@@ -24,7 +23,7 @@
     name="enterprise-pulsar",
     description="ENTERPRISE (Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE)",
     long_description=readme,
-    long_desctiption_content_type="text/x-rst",
+    long_description_content_type="text/markdown",
     author="Justin A. Ellis",
     author_email="justin.ellis18@gmail.com",
     url="https://github.com/nanograv/enterprise",


Test patch:
diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml
index 4041bc1d..88ba5204 100644
--- a/.github/workflows/ci_test.yml
+++ b/.github/workflows/ci_test.yml
@@ -80,6 +80,10 @@ jobs:
         pip install -r requirements.txt
         pip install -r requirements_dev.txt
         make dist
+    - name: Test deployability
+      run: |
+        pip install twine
+        twine check dist/*
     - name: Test the sdist
       run: |
         mkdir tmp