Skip to content

Commit

Permalink
setup.py: Fix installation script, add bin installer
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 committed Jan 23, 2022
1 parent 5ca374e commit af4aeb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ The following have contributed to this project:
* Scott McCreary
* Alexander Deynichenko
* HaikuBot (aka RISC)
* Jack Laxson
* Jack Laxson
* Alexander von Gluck IV
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"""
import sys
import warnings
if sys.version_info[:2] != (2, 7):
warnings.warn("Python 2.7 is required")
if sys.version_info[:2] != (3, 4):
warnings.warn("Python 3.4 is required")

from setuptools import setup

Expand All @@ -14,14 +14,16 @@
version=__version__,
description="Haiku package management",
author="Haiku, Inc. See also AUTHORS.txt",
setup_requires=['install_binaries'],
install_binaries=['haikuporter'],
license="MIT",
requires=[
'python (>=2.7.0)',
'python (>=3.4.0)',
],
classifiers=[
'Operating System :: Haiku',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
],
)

0 comments on commit af4aeb2

Please sign in to comment.