-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (52 loc) · 1.71 KB
/
setup.py
File metadata and controls
54 lines (52 loc) · 1.71 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from setuptools import setup, find_packages
import os
import re
# Read version from version.py
with open(os.path.join('hivecraft', 'version.py'), 'r') as f:
version_file = f.read()
version_match = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
if version_match:
version = version_match.group(1)
else:
raise RuntimeError("Unable to find version string.")
setup(
name='hivecraft',
version=version,
packages=[
'hivecraft',
'hivecraft.prompts',
'hivecraft.props',
'hivecraft.props.desc',
'hivecraft.props.meta',
'hivecraft.scripts'
],
install_requires=[],
tests_require=[
'pytest>=6.0.0',
'pytest-cov>=2.10.0',
],
entry_points={
'console_scripts': [
'hivecraft=hivecraft.__main__:main',
],
},
author='Éric PHILIPPE',
author_email='ericphlpp@proton.me',
description='Hivecraft is a tool to create, test and compile a folder with .alghive extension.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/Eric-Philippe/AlgoHive',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)