Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

add pip release script

edgarriba36cb8456867c
diff --git a/.gitignore b/.gitignore
index 8cd46957d..6a2cfbfa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
build/
dist/
-torchgeometry/version.py
-torchgeometry.egg-info/
+kornia/version.py
+kornia.egg-info/
*/**/__pycache__
*/**/*.pyc
*/**/*~
diff --git a/kornia/version.py b/kornia/version.py
index 10939f01b..eaba9868b 100644
--- a/kornia/version.py
+++ b/kornia/version.py
@@ -1 +1 @@
-__version__ = '0.1.2'
+__version__ = '0.1.3.post2'
diff --git a/scripts/build_wheel.sh b/scripts/build_wheel.sh
new file mode 100755
index 000000000..05ceea3ec
--- /dev/null
+++ b/scripts/build_wheel.sh
@@ -0,0 +1,15 @@
+#!/bin/bash -ex
+
+## NOTE: change this each release
+export KORNIA_BUILD_VERSION=0.1.3
+export KORNIA_BUILD_NUMBER=2 # use 1 for final release, otherwise will be post2, post3, postN
+
+# move to project root and create the wheel
+
+cd ..
+python3 setup.py sdist bdist_wheel
+
+# upload
+
+python3 -m twine upload dist/*
+
diff --git a/setup.py b/setup.py
index da97e92b3..906ebbdfe 100644
--- a/setup.py
+++ b/setup.py
@@ -72,7 +72,7 @@ if __name__ == '__main__':
url='https://github.com/arraiyopensource/kornia',
description='differentiable computer vision for deep learning',
long_description=long_description,
- license='BSD',
+ license='Apache License 2.0',
python_requires='>=3.6',
# Test
@@ -84,4 +84,14 @@ if __name__ == '__main__':
zip_safe=True,
install_requires=requirements,
+ classifiers=[
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: Education',
+ 'Intended Audience :: Science/Research',
+ 'Operating System :: POSIX :: Linux',
+ 'Programming Language :: Python :: 3 :: Only',
+ 'License :: OSI Approved :: Apache Software License',
+ 'Topic :: Scientific/Engineering :: Image Recognition',
+ 'Topic :: Software Development :: Libraries',
+ ],
)