forked from xsuite/nafflib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (47 loc) · 1.46 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
# copyright ############################### #
# Copyright (c) CERN, 2024. #
# ######################################### #
from setuptools import setup, find_packages, Extension
from pathlib import Path
#######################################
# Prepare list of compiled extensions #
#######################################
extensions = []
# LOAD REAME as PyPI description
with open("README.md","r") as fh:
readme = fh.read()
#########
# Setup #
#########
version_file = Path(__file__).parent / 'nafflib/_version.py'
dd = {}
with open(version_file.absolute(), 'r') as fp:
exec(fp.read(), dd)
__version__ = dd['__version__']
setup(
name='nafflib',
version=__version__,
description='NAFF algorithm for frequency analysis',
long_description=readme,
long_description_content_type='text/markdown',
url='https://github.com/xsuite/nafflib',
packages=find_packages(),
ext_modules=extensions,
include_package_data=True,
install_requires=[
'numpy>=1.0',
'pandas',
'numba'
],
author='P. Belanger, K. Paraschou et al.',
license='Apache 2.0',
download_url="https://pypi.python.org/pypi/nafflib",
project_urls={
"Bug Tracker": "https://github.com/xsuite/xsuite/issues",
# "Documentation": 'https://xsuite.readthedocs.io/',
"Source Code": "https://github.com/xsuite/nafflib",
},
extras_require={
'tests': ['pytest'],
},
)