Skip to content

Commit

Permalink
switch from setup.cfg to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mscarey committed Aug 11, 2021
1 parent 264ac8f commit 0ab6ef0
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 44 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ anchorpoint~=0.5.2
apispec[validation]~=4.3.0
apispec-oneofschema
eyecite~=2.2.0
justopinion~=0.2.3
git+git://github.com/mscarey/justopinion.git@0bb99cb72d0d6ac0248e11c8fb1bd641fbaba3c9#egg=justopinion
legislice>=0.5.2
marshmallow~=3.13
marshmallow-oneofschema
Expand Down
43 changes: 0 additions & 43 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,47 +1,4 @@

[metadata]

name = AuthoritySpoke
version = 0.7.2
author= Matt Carey
author_email = matt@authorityspoke.com
description = legal authority automation
long_description = file: readme.md
long_description_content_type = text/markdown
url = https://github.com/mscarey/authorityspoke
project_urls =
Bug Tracker = https://github.com/mscarey/authorityspoke/issues
Documentation = https://authorityspoke.readthedocs.io/en/latest/
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Legal Industry
License :: Free To Use But Restricted
Programming Language :: Python :: 3.9
Operating System :: OS Independent
Natural Language :: English

[options]
install_requires =
anchorpoint~=0.5.2
apispec[validation]~=4.3.0
apispec-oneofschema
eyecite~=2.2.0
justopinion~=0.2.3
legislice>=0.5.2
marshmallow>=3.10
marshmallow-oneofschema
nettlesome>=0.5.1
pint>=0.15
pydantic
python-dotenv
python-slugify
pyyaml
requests
roman
sympy>=1.7.1
packages = find:
python_requires = >=3.8

[pydocstyle]

add-ignore=D105,D202,D301
Expand Down
48 changes: 48 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import setuptools

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setuptools.setup(
name="AuthoritySpoke",
version="0.7.2",
author="Matt Carey",
author_email="matt@authorityspoke.com",
description="legal authority automation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mscarey/authorityspoke",
project_urls={
"Bug Tracker": "https://github.com/mscarey/authorityspoke/issues",
"Documentation": "https://authorityspoke.readthedocs.io/en/latest/",
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Legal Industry",
"License :: Free To Use But Restricted",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
"Natural Language :: English",
],
packages=setuptools.find_packages(exclude=["tests"]),
install_requires=[
"anchorpoint~=0.5.2",
"apispec[validation]~=4.3.0",
"apispec-oneofschema",
"eyecite~=2.2.0",
"justopinion~=0.2.3",
"legislice>=0.5.2",
"marshmallow>=3.10",
"marshmallow-oneofschema",
"nettlesome>=0.5.1",
"pint>=0.15",
"pydantic",
"python-dotenv",
"python-slugify",
"pyyaml",
"requests",
"roman",
"sympy>=1.7.1",
],
python_requires=">=3.8",
)

0 comments on commit 0ab6ef0

Please sign in to comment.