-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (22 loc) · 781 Bytes
/
setup.py
File metadata and controls
26 lines (22 loc) · 781 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
#!/usr/bin/env python
from __future__ import absolute_import, division, print_function
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,
)