Mod: additional info for setup
This commit is contained in:
parent
f8e4f366d0
commit
4dd74591fc
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,3 +18,4 @@ env/
|
|||||||
*.toc
|
*.toc
|
||||||
*.png
|
*.png
|
||||||
*.out
|
*.out
|
||||||
|
*.egg-info
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# This file is part of anisotropy.
|
|
||||||
# License: GNU GPL version 3, see the file "LICENSE" for details.
|
|
||||||
|
|
||||||
import sys
|
|
||||||
import anisotropy
|
|
||||||
|
|
||||||
sys.exit(anisotropy.main())
|
|
@ -5,3 +5,4 @@ peewee
|
|||||||
pandas
|
pandas
|
||||||
Sphinx
|
Sphinx
|
||||||
sphinx-rtd-theme
|
sphinx-rtd-theme
|
||||||
|
Click
|
||||||
|
31
setup.py
31
setup.py
@ -7,23 +7,40 @@ from setuptools import setup
|
|||||||
|
|
||||||
import anisotropy
|
import anisotropy
|
||||||
|
|
||||||
|
def read(filename, split = False):
|
||||||
|
content = ""
|
||||||
|
|
||||||
|
with open(os.path.join(os.path.dirname(__file__), filename), "r") as io:
|
||||||
|
content = io.read()
|
||||||
|
|
||||||
|
return content.strip().split("\n") if split else content
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
setup(
|
setup(
|
||||||
name = "anisotropy",
|
name = "anisotropy",
|
||||||
description = "Anisotropy",
|
description = "Anisotropy",
|
||||||
long_description = anisotropy.__doc__,
|
long_description = read("README.rst"),
|
||||||
|
long_description_content_type = "text/x-rst",
|
||||||
version = anisotropy.__version__,
|
version = anisotropy.__version__,
|
||||||
author = anisotropy.__author__,
|
author = anisotropy.__author__,
|
||||||
author_email = anisotropy.__email__,
|
author_email = anisotropy.__email__,
|
||||||
license = anisotropy.__license__,
|
license = anisotropy.__license__,
|
||||||
|
|
||||||
url = "https://github.com/L-Nafaryus/anisotropy",
|
url = "https://github.com/L-Nafaryus/anisotropy",
|
||||||
keywords = "anisotropy console",
|
project_urls = {
|
||||||
|
"Source": "https://github.com/L-Nafaryus/anisotropy"
|
||||||
|
},
|
||||||
|
|
||||||
|
keywords = "anisotropy console CFD",
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Operating System :: POSIX",
|
"Operating System :: POSIX",
|
||||||
"Operating System :: Unix",
|
"Operating System :: Unix",
|
||||||
|
"Intended Audience :: Science/Research",
|
||||||
"Programming Language :: Python :: 3.9"
|
"Programming Language :: Python :: 3.9"
|
||||||
],
|
],
|
||||||
|
|
||||||
package_data = {
|
package_data = {
|
||||||
"anisotropy": [
|
"anisotropy": [
|
||||||
"config/default.toml"
|
"config/default.toml"
|
||||||
@ -36,7 +53,15 @@ def main():
|
|||||||
"anisotropy.openfoam",
|
"anisotropy.openfoam",
|
||||||
"anisotropy.salomepl",
|
"anisotropy.salomepl",
|
||||||
"anisotropy.samples"
|
"anisotropy.samples"
|
||||||
)
|
),
|
||||||
|
|
||||||
|
python_requires = ">=3.6",
|
||||||
|
install_requires = read("requirements.txt", True),
|
||||||
|
entry_points = {
|
||||||
|
"console_scripts": [
|
||||||
|
"anisotropy=anisotropy.core.cli:anisotropy"
|
||||||
|
]
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user