-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
50 lines (47 loc) · 1.75 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
42
43
44
45
46
47
48
49
50
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open
import sbalance
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='slurm-sbalance',
version=sbalance.__version__,
description='Slurm utility for checking account balance',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/puttsk/slurm-sbalance',
author='Putt Sakdhnagool',
author_email='putt.sakdhnagool@nectec.or.th',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: System Administrators',
'Topic :: System :: Systems Administration',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
keywords='slurm',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4',
entry_points={
'console_scripts': [
'sbalance=sbalance:main',
],
},
install_requires=[
'pandas>=0.24',
],
project_urls={
'Bug Reports': 'https://github.com/puttsk/slurm-sbalance/issues',
'Source': 'https://github.com/puttsk/slurm-sbalance/',
},
)