forked from StarryPy/Project-Apophis
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (24 loc) · 736 Bytes
/
setup.py
File metadata and controls
31 lines (24 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import sys
from setuptools import setup, find_packages
from starrypy import __version__
if sys.version_info < (3, 7, 0):
raise RuntimeError("StarryPy requires Python 3.7.0+")
def get_requirements():
with open("REQUIREMENTS.txt") as f:
return f.read().splitlines()
setup(
name='starrypy',
version=__version__,
description='StarryPy - A python wrapper for Starbound',
url='http://www.starrypy.org',
long_description='',
packages=find_packages(),
package_data={'starrypy': ['_example/*.yaml']},
license='MIT',
platforms='any',
install_requires=get_requirements(),
entry_points={
'console_scripts': ['starrypy = starrypy.__init__:main']
},
zip_safe=False
)