-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·41 lines (38 loc) · 1.3 KB
/
setup.py
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
#!/usr/bin/env python3
import setuptools
import os
path = os.path.join(os.path.dirname(__file__), 'cook', 'core', '__init__.py')
with open(path) as file:
for line in file:
if line.startswith('version = ('):
version = '.'.join(line[len('version = ('):-2].split(', '))
break
else:
raise RuntimeError('could not extract version from "{}"'.format(path))
setuptools.setup(
name='cook',
version=version,
description='desc',
long_description='long_desc',
url='https://getcook.org/',
author='jachris',
packages=['cook', 'cook.core'],
entry_points={
'console_scripts': ['cook = cook.__main__:main']
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers'
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development',
'Topic :: Software Development :: Build Tools'
],
)