-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (51 loc) · 1.61 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
51
52
53
54
55
56
57
58
59
60
import sys
import os
import subprocess
from setuptools import setup, find_packages
def get_version():
data = {}
fname = os.path.join('charmpandas', '__init__.py')
exec(compile(open(fname).read(), fname, 'exec'), data)
return data.get('__version__')
def compile_server():
charmc = os.environ.get('CHARMC', '~/charm/netlrts-linux-x86_64/bin/charmc')
aum_base = os.environ.get('AUM_HOME', '~/LibAum')
subprocess.run(["make", "-C", "src/",
"CHARMC=%s" % charmc, "BASE_DIR=%s" % aum_base])
install_requires = ['numpy']
tests_require = ['pytest']
docs_require = ['sphinx']
classes = '''
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: MacOS :: MacOS X
Operating System :: POSIX
Operating System :: Unix
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Software Development :: Libraries
Topic :: Utilities
'''
classifiers = [x.strip() for x in classes.splitlines() if x]
#compile_server()
setup(
name='charmpandas',
#version=get_version(),
author='Aditya Bhosale',
author_email='[email protected]',
description='A python library for distributed pandas',
long_description=open('README.rst').read(),
license="BSD",
#url='https://github.com/UIUC-PPL/PyProject',
classifiers=classifiers,
packages=find_packages(),
install_requires=install_requires,
extras_require={
"docs": docs_require,
"tests": tests_require,
"dev": docs_require + tests_require,
},
)