forked from dials/data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (51 loc) · 1.83 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = ["pytest", "pyyaml", "setuptools", "six"]
setup_requirements = []
test_requirements = []
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
if needs_pytest:
setup_requirements.append("pytest-runner")
setup(
author="Markus Gerstel",
author_email="[email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
description="DIALS Regression Data Manager",
entry_points={
"console_scripts": ["dials.data = dials_data.cli:main"],
"libtbx.dispatcher.script": ["dials.data = dials.data"],
"libtbx.precommit": ["dials_data = dials_data"],
"pytest11": ["dials_data = dials_data.pytest11"],
},
install_requires=requirements,
license="BSD license",
long_description=readme + "\n\n" + history,
long_description_content_type="text/x-rst",
include_package_data=True,
keywords="dials_data",
name="dials_data",
packages=find_packages(include=["dials_data"]),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/dials/data",
version="2.0.0",
zip_safe=False,
)