Skip to content

Commit

Permalink
Merge pull request #20 from matthewfeickert/feat/use-setup-cfg
Browse files Browse the repository at this point in the history
feat: Use src directory structure and make PEP 660 compatible
  • Loading branch information
lukasheinrich authored Nov 17, 2021
2 parents c58f002 + e0fd78d commit e002a4b
Show file tree
Hide file tree
Showing 18 changed files with 65 additions and 41 deletions.
12 changes: 12 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
prune **
graft src
graft tests

include setup.py
include setup.cfg
include LICENSE
include README.md
include pyproject.toml
include MANIFEST.in

global-exclude __pycache__ *.py[cod]
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build-system]
# Minimum requirements for the build system to execute.
requires = ["wheel", "setuptools>=30.3.0"]
build-backend = "setuptools.build_meta"
42 changes: 42 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[metadata]
name = adage
version = 0.10.1
description = Running dynamic DAG workflows
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/yadage/adage
author = Lukas Heinrich
author_email = [email protected]
license = MIT
license_file = LICENSE
keywords = physics yadage
project_urls =
Documentation = https://github.com/yadage/adage
Source Code = https://github.com/yadage/adage
Issue Tracker = https://github.com/yadage/adage/issues
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Intended Audience :: Science/Research
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Physics
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
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 :: Implementation :: CPython

[options]
package_dir =
= src
packages = find:
include_package_data = True
python_requires = >=3.6
install_requires =
networkx>=2.4

[options.packages.find]
where = src
48 changes: 7 additions & 41 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,8 @@
from setuptools import setup, find_packages
from setuptools import setup

setup(
name = 'adage',
author = 'Lukas Heinrich',
author_email = '[email protected]',
version = '0.10.1',
description = 'running dynamic DAG workflows',
packages = find_packages(),
python_requires = '>=3.6',
install_requires = [
'networkx>=2.4'
],
extras_require = {
'develop': [
'pyflakes',
'pytest>=3.2.0',
'pytest-cov>=2.5.1',
'python-coveralls'
],
'viz' : [
'pydot',
'pygraphviz',
'pydotplus'
]
},
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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 :: Implementation :: CPython",
],
)
extras_require = {
"develop": ["pyflakes", "pytest>=3.2.0", "pytest-cov>=2.5.1", "python-coveralls"],
"viz": ["pydot", "pygraphviz", "pydotplus"],
}

setup(extras_require=extras_require)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e002a4b

Please sign in to comment.