Skip to content

Commit

Permalink
setup.py: Change into pip package
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Kosmala committed Dec 8, 2021
1 parent 43c237c commit 1c4f33b
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
"""Raw data image previewer."""
import sys
sys.path.append("..")
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

36 changes: 36 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env python

try:
from setuptools import setup, find_packages
except ImportError:
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup

setup(
name='Raviewer',
version='1.0',
author='Antmicro Ltd',
description="Tool for visualization of raw graphics data",
author_email='contact@antmicro.com',
url='https://github.com/antmicro/raviewer',
license='Apache Software License (http://www.apache.org/licenses/LICENSE-2.0)',
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'raviewer = app.__main__:main',
]},
install_requires=[
'numpy',
'opencv-python',
'Pillow',
'dearpygui==1.0.0',
'terminaltables'
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)

0 comments on commit 1c4f33b

Please sign in to comment.