forked from dials/dials
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (40 loc) · 1.37 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
# coding: utf-8
import sys
from setuptools import setup, find_packages
requirements = ["dials-data", "Jinja2", "procrunner", "six"]
setup_requirements = []
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
if needs_pytest:
setup_requirements.append("pytest-runner")
test_requirements = ["mock", "pytest"]
setup(
author="Diamond Light Source",
author_email="[email protected]",
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
],
description="Diffraction Integration for Advanced Light Sources",
install_requires=requirements,
license="BSD license",
include_package_data=True,
keywords="dials",
name="dials",
packages=find_packages(),
package_dir={"dials": "../dials"},
data_files=[
("dials", ["conftest.py", "__init__.py", "libtbx_refresh.py", "run_tests.py"])
],
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/dials/dials",
version="0.0.1",
zip_safe=False,
)