-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
50 lines (44 loc) · 1.38 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os.path import exists
from pathlib import Path
import re
from setuptools import setup, find_packages
author = 'artificial-scientist-lab'
description = 'PyTheus, a highly-efficient inverse-design algorithm for quantum optical experiments'
dist_name = 'pytheusQ'
package_name = 'pytheus'
year = '2024'
url = 'https://github.com/artificial-scientist-lab/Pytheus'
def get_version():
content = open(Path(package_name) / '__init__.py').readlines()
return "1.2.8"
setup(
name=dist_name,
author=author,
author_email=email,
url=url,
version=get_version(),
packages=find_packages(),
package_dir={dist_name: package_name},
include_package_data=True,
license='MIT',
description=description,
long_description=open('README.md').read() if exists('README.md') else '',
long_description_content_type="text/markdown",
install_requires=[
'sphinx', 'numpy', 'scipy', 'matplotlib', 'termcolor', 'Click'
],
python_requires=">=3.8",
classifiers=['Operating System :: OS Independent',
'Programming Language :: Python :: 3',
],
platforms=['ALL'],
py_modules=[package_name],
entry_points={
'console_scripts': [
'pytheus = pytheus.cli:cli',
],
}
)