This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
50 lines (44 loc) · 1.47 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
#!/usr/bin/env python
from setuptools import setup, Command
import copy
import os
import sys
package_dir = "lib"
script_dir = "scripts"
with open('README.md') as file:
long_description = file.read()
long_description = long_description[:long_description.find("\n\n")]
class Dummy:
pass
version = Dummy()
exec(open('lib/activepapers/version.py').read(), version.__dict__)
setup(name='ActivePapers.Py',
version=version.version,
description='Executable papers containing Python code',
long_description=long_description,
author='Konrad Hinsen',
author_email='research@khinsen.fastmail.net',
url='http://github.com/activepapers/activepapers-python',
license='BSD',
package_dir = {'': package_dir},
packages=['activepapers'],
scripts=[os.path.join(script_dir, s) for s in os.listdir(script_dir)],
platforms=['any'],
install_requires=[
"numpy>=1.6",
"h5py>=2.2",
"tempdir>=0.6"
],
provides=["ActivePapers"],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
]
)