Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
665cc921
提交
665cc921
authored
8月 21, 2022
作者:
Ben Mares
提交者:
Brandon T. Willard
8月 22, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move configuration to setup.cfg
上级
f2a7fb99
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
95 行增加
和
92 行删除
+95
-92
setup.cfg
setup.cfg
+88
-0
setup.py
setup.py
+7
-92
没有找到文件。
setup.cfg
浏览文件 @
665cc921
[metadata]
name = aesara
author = aesara-devs
author_email = aesara.devs@gmail.com
description = Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
long_description = file: DESCRIPTION.txt
long_description_content_type = text/x-rst
url = https://github.com/aesara-devs/aesara
license = BSD
platforms =
Windows
Linux
Solaris
Mac OS-X
Unix
classifiers =
Development Status :: 6 - Mature
Intended Audience :: Education
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Programming Language :: Python
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Compilers
Topic :: Scientific/Engineering :: Mathematics
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
keywords =
aesara
math
numerical
symbolic
blas
numpy
autodiff
differentiation
[options]
packages = find:
install_requires =
numpy >=1.17.0
scipy >=0.14
filelock
etuples
logical-unification
miniKanren
cons
typing_extensions
setuptools >=48.0.0
[options.packages.find]
exclude =
tests
tests.*
[options.entry_points]
console_scripts =
aesara-cache = bin.aesara_cache:main
[options.package_data]
aesara =
*.txt
*.rst
*.txt
*.rst
*.cu
*.cuh
*.c
*.sh
*.pkl
*.h
*.cpp
ChangeLog
c_code/*
py.typed
aesara.misc =
*.sh
aesara.d3viz =
html/*
css/*
js/*
[flake8]
select = C,E,F,W
ignore = E203,E231,E501,E741,W503,W504,C901
...
...
setup.py
浏览文件 @
665cc921
#!/usr/bin/env python
import
os
from
setuptools
import
find_packages
,
setup
from
setuptools
import
setup
from
setuptools.dist
import
Distribution
import
versioneer
dist
=
Distribution
()
dist
.
parse_config_files
()
def
read_file
(
filename
):
with
open
(
filename
,
"rt"
)
as
buff
:
return
buff
.
read
()
NAME
=
"aesara"
MAINTAINER
=
"Aesara developers"
MAINTAINER_EMAIL
=
"aesara.devs@gmail.com"
DESCRIPTION
=
(
"Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs."
)
LONG_DESCRIPTION
=
read_file
(
"DESCRIPTION.txt"
)
URL
=
"https://github.com/aesara-devs/aesara"
LICENSE
=
"BSD"
AUTHOR
=
"aesara-devs"
AUTHOR_EMAIL
=
"aesara.devs@gmail.com"
PLATFORMS
=
[
"Windows"
,
"Linux"
,
"Solaris"
,
"Mac OS-X"
,
"Unix"
]
CLASSIFIERS
=
"""
\
Development Status :: 6 - Mature
Intended Audience :: Education
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Programming Language :: Python
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Compilers
Topic :: Scientific/Engineering :: Mathematics
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
"""
CLASSIFIERS
=
[
_f
for
_f
in
CLASSIFIERS
.
split
(
"
\n
"
)
if
_f
]
install_requires
=
[
"numpy>=1.17.0"
,
"scipy>=0.14"
,
"filelock"
,
"etuples"
,
"logical-unification"
,
"miniKanren"
,
"cons"
,
"typing_extensions"
,
"setuptools>=48.0.0"
,
]
NAME
:
str
=
dist
.
get_name
()
# type: ignore
# Handle builds of nightly release
if
"BUILD_AESARA_NIGHTLY"
in
os
.
environ
:
...
...
@@ -80,50 +41,4 @@ if __name__ == "__main__":
name
=
NAME
,
version
=
versioneer
.
get_version
(),
cmdclass
=
versioneer
.
get_cmdclass
(),
description
=
DESCRIPTION
,
long_description
=
LONG_DESCRIPTION
,
long_description_content_type
=
"text/x-rst"
,
classifiers
=
CLASSIFIERS
,
author
=
AUTHOR
,
author_email
=
AUTHOR_EMAIL
,
url
=
URL
,
license
=
LICENSE
,
platforms
=
PLATFORMS
,
packages
=
find_packages
(
exclude
=
[
"tests"
,
"tests.*"
]),
install_requires
=
install_requires
,
package_data
=
{
""
:
[
"*.txt"
,
"*.rst"
,
"*.cu"
,
"*.cuh"
,
"*.c"
,
"*.sh"
,
"*.pkl"
,
"*.h"
,
"*.cpp"
,
"ChangeLog"
,
"c_code/*"
,
],
"aesara"
:
[
"py.typed"
],
"aesara.misc"
:
[
"*.sh"
],
"aesara.d3viz"
:
[
"html/*"
,
"css/*"
,
"js/*"
],
},
entry_points
=
{
"console_scripts"
:
[
"aesara-cache = bin.aesara_cache:main"
,
]
},
keywords
=
" "
.
join
(
[
"aesara"
,
"math"
,
"numerical"
,
"symbolic"
,
"blas"
,
"numpy"
,
"autodiff"
,
"differentiation"
,
]
),
)
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论