Skip to content

Commit

Permalink
Merge pull request #196 from discsim/sdist_fix
Browse files Browse the repository at this point in the history
Include non-py files in install
  • Loading branch information
rbooth200 authored Dec 2, 2022
2 parents 328d056 + 0ce1213 commit 5ad9382
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Changelog
+++++++++

v.1.2.1
+++++++
*Fixed a bug that caused non-python files to not be installed through pip*

v.1.2.0
+++++++
*Introduction of log-normal fits, large amount of code refactoring to support both 'Gaussian' and 'LogNormal' methods*
Expand Down
2 changes: 1 addition & 1 deletion frank/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>
#
__version__ = "1.2.0"
__version__ = "1.2.1"

from frank import constants
from frank import geometry
Expand Down
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,18 @@ keywords =

[options]
packages = frank

# python_requires docs: https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
python_requires = >=3.6

# PEP 440 - pinning package versions: https://www.python.org/dev/peps/pep-0440/#compatible-release
install_requires =
numpy>=1.12
matplotlib>=3.1.0
scipy>=1.2.0

# additional files to include in install
[options.package_data]
* = default_parameters.json, parameter_descriptions.json, frank.mplstyle

# extras_require syntax:
# https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html?highlight=options.extras_require#configuring-setup-using-setup-cfg-files
[options.extras_require]
Expand Down

0 comments on commit 5ad9382

Please sign in to comment.