-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename pacakge to pyrandvec; add environment.yml for (Ana)conda
- Loading branch information
1 parent
2b9ecba
commit 8fa6372
Showing
8 changed files
with
91 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,6 @@ test: | |
flake8: | ||
flake8 | ||
|
||
conda: | ||
conda env create -f environment.yml | ||
conda activate pyrandvec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: pyrandvec | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
# Basic conda install | ||
- python=3.9 | ||
- matplotlib | ||
- codecov | ||
- pip | ||
- pip: | ||
- --editable . # install locally | ||
# Testing | ||
- pytest | ||
# Linting | ||
- flake8==5.0.4 | ||
- flake8-quotes==3.3.1 | ||
- flake8-bandit==4.1.1 | ||
- pep8-naming==0.13.2 | ||
- flake8-docstrings==1.6.0 | ||
- flake8-use-fstring==1.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
with open('README.md', 'r') as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name = "randvec", | ||
version = "1.0.2", | ||
author = "Jakob Bossek", | ||
author_email = "j.bossek@gmail.com", | ||
description = "Generate random and uniform vectors whose components sum up to one", | ||
name = 'pyrandvec', | ||
version = '1.0.2', | ||
author = 'Jakob Bossek', | ||
author_email = 'j.bossek@gmail.com', | ||
description = 'Generate random vectors whose components sum up to one', | ||
long_description = long_description, | ||
url = "https://github.com/jakobbossek/randvec/", | ||
url = 'https://github.com/jakobbossek/pyrandvec/', | ||
# tell PyPi that we use markdown and not RestructuredText | ||
long_description_content_type = "text/markdown", | ||
packages = setuptools.find_packages(exclude = ["tests"]), | ||
long_description_content_type = 'text/markdown', | ||
packages = setuptools.find_packages(exclude = ['tests']), | ||
python_requires = '>=3.7', | ||
py_modules = ["randvec"], | ||
py_modules = ['pyrandvec'], | ||
package_dir = {}, | ||
# make it easy for users to find the package | ||
# (see https://pypi.org/classifiers/) | ||
classifiers = [ | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"License :: OSI Approved :: MIT License", | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'License :: OSI Approved :: MIT License', | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Science/Research', | ||
'Topic :: Scientific/Engineering', | ||
'Topic :: Scientific/Engineering :: Mathematics', | ||
], | ||
# for production dependencies | ||
install_requires = [], | ||
# for optional (development) requirements | ||
extras_require = { | ||
"dev": [ | ||
"pytest >=3.7", | ||
'dev': [ | ||
'pytest >=3.7', | ||
] | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters