-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 810 Bytes
/
setup.py
File metadata and controls
28 lines (24 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
25
26
27
28
#!/usr/bin/env python
from __future__ import (absolute_import, division, print_function)
import sys
import warnings
import versioneer
from setuptools import setup, find_packages
no_git_reqs = []
with open('requirements.txt') as f:
required = f.read().splitlines()
for r in required:
if not (r.startswith('git') or r.startswith('#') or r.strip() == ''):
no_git_reqs.append(r)
setup(
name='chxtools',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author='Brookhaven National Laboratory',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
packages=find_packages(),
package_data={'chxtools': ['X-ray_database/*.dat']},
include_package_data=True,
install_requires=no_git_reqs,
)