Skip to content

Commit

Permalink
Add setup.py, pyproject.toml and MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
havardlovas committed Mar 12, 2024
1 parent 56dbd2a commit ea143f9
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
graft gref4hsi
include pyproject.toml
include setup.py
global-exclude *.py[cod]
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools >= 42",
"wheel",
]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ opencv-python
dill
geopandas
h5py
lmfit
matplotlib
numpy
open3d
Expand All @@ -20,6 +19,7 @@ xmltodict
pykdtree
trimesh
rtree
embreex
pyembree
sphinx
ipykernel
50 changes: 50 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import pathlib
import setuptools

setuptools.setup(
name='gref4hsi',
version='0.1.1',
description='A Python package for for georeferencing and orthorectifying hyperspectral imagery',
long_description=pathlib.Path("README.md").read_text(),
long_description_content_type = "text/markdown",
url='https://github.com/havardlovas/gref4hsi',
author='Haavard Snefjellaa Loevaas',
author_email='[email protected]',
license='EUPL-1.2',
install_requires=[
"opencv-python",
"dill",
"geopandas",
"h5py",
"matplotlib",
"numpy",
"open3d",
"pandas",
"Pillow",
"pymap3d",
"pyproj",
"pyvista",
"pyvistaqt",
"scikit-learn",
"scipy",
"shapely",
"spectral",
"xmltodict",
"pykdtree",
"trimesh",
"rtree",
"pyembree",
"ephem"
],

classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)',
'Operating System :: Microsoft :: Windows :: Windows 10',
'Programming Language :: Python :: 3.8',
],
python_requires='>3.7,<3.9',
packages=setuptools.find_packages(),
include_package_data=True
)

0 comments on commit ea143f9

Please sign in to comment.