-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (35 loc) · 1.07 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
#!/usr/bin/env python
'''Python Project Setup script. Used by easy_install and pip.'''
import os
from setuptools import setup, find_packages
# Project Metadata
NAME = "Doping"
VERSION = "0.1"
AUTHOR = ("Sergi Siso <sergi.siso@stfc.ac.uk>,"
"Jeyan Thiyagalingam <t.jeyan@stfc.ac.uk>")
AUTHOR_EMAIL = ("sergi.siso@stfc.ac.uk")
# LICENSE=""
# URL=""
# DOWNLOAD_URL=""
# Requierements information
BASE_PATH = os.path.dirname(os.path.abspath(__file__))
SRC_PATH = os.path.join(BASE_PATH, "src")
PACKAGES = find_packages(
where=SRC_PATH, exclude=["codegen.test", "codegen.test.*"])
REQUIREMENTS = ['libclang']
DEV_REQUIREMENTS = ["pytest", "pylint", "pytest-cov", "pycodestyle",
"Sphinx", "sphinx_rtd_theme"]
if __name__ == '__main__':
setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
packages=PACKAGES,
package_dir={'': 'src'},
install_requires=REQUIREMENTS,
extras_require={
'dev': DEV_REQUIREMENTS
},
scripts=['bin/dope']
)