-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·40 lines (34 loc) · 1.18 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
#!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
NAME = os.path.split(os.path.abspath('.'))[-1]
SHORT_NAME = NAME.lower().split('-')[-1]
MODULE_NAME = NAME.replace('-', '_')
VERSION = '0.13'
KEYWORDS = ['testing', 'pytest', 'long_run', SHORT_NAME]
setup(
name=NAME,
license='MIT',
# packages=[NAME],
version=VERSION,
description="Save/Restore interpreter running state to resume interruped computations",
author='Asterio Gonzalez',
author_email='asterio.gonzalez@gmail.com',
url='https://github.com/asteriogonzalez/{0}'.format(NAME),
# download_url = \
# 'https://github.com/asteriogonzalez/{0}/archive/{1}.tar.gz'\
# .format(NAME, VERSION)
keywords = KEYWORDS,
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Testing',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
],
long_description=read("README.md"),
py_modules=[MODULE_NAME],
entry_points={'pytest11': ['{0} = {1}'.format(SHORT_NAME, MODULE_NAME)]},
install_requires=['numpy']
)