-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·25 lines (21 loc) · 810 Bytes
/
setup.py
File metadata and controls
executable file
·25 lines (21 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
try:
from setuptools import setup
except:
from distutils.core import setup
import os, sys, glob
script_files = glob.glob("scripts/*")
install_requires=[ o.strip('\n') for o in open('requirements.txt').readlines() if not '#' in o]
setup(name='xrdtoolkit',
version='0.9',
description='xrdtoolkit provides routines for calculating cross-sections, form factors and other quantities commonly needed in X-ray experiments',
install_requires=install_requires,
package_data = { 'xrdtoolkit' : ['data/*.pickle'], },
include_package_data=True,
packages=['xrdtoolkit'],
scripts=script_files,
test_suite='tests',
author='Amund Hov',
author_email='amund.hov@esrf.fr',
url='http://www.python.org/sigs/distutils-sig/',
)