Skip to content

Commit

Permalink
update package_data and include_package_data=True
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Apr 18, 2021
1 parent ec830b2 commit 57c2f21
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,35 @@
install_requires = ["functools32"]

setup(
name = "geomag",
packages = ["geomag"],
#data_files = [('geomag', ('geomag/WMM.COF',))],
package_data = {'geomag': ['WMM.COF','WMM2010.COF']},
version = "0.9.2015",
description = "Magnetic variation/declination",
author = "Christopher Weiss",
author_email = "[email protected]",
url = "http://geomag.googlecode.com/",
download_url = "//pypi.python.org/packages/source/g/geomag/geomag-0.9.2015.zip",
keywords = ["magnetic", "variation", "declination"],
install_requires = install_requires,
classifiers = [
name="geomag",
packages=["geomag"],
# data_files = [('geomag', ('geomag/WMM.COF',))],
package_data={"geomag": ["model_data/*.COF"]},
include_package_data=True,
version="0.9.2015",
description="Magnetic variation/declination",
author="Christopher Weiss",
author_email="[email protected]",
url="http://geomag.googlecode.com/",
download_url="//pypi.python.org/packages/source/g/geomag/geomag-0.9.2015.zip",
keywords=["magnetic", "variation", "declination"],
install_requires=install_requires,
classifiers=[
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Utilities",
],
long_description = """\
],
long_description="""\
Magnetic variation/declination
------------------------------
Calculates magnetic variation/declination for any latitude/longitude/altitude,
for any date. Uses the NOAA National Geophysical Data Center, epoch 2015 data.
"""
""",
)

0 comments on commit 57c2f21

Please sign in to comment.