-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update packaging configuration (#602)
- Loading branch information
Showing
10 changed files
with
95 additions
and
70 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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
include LICENSE | ||
include README.md | ||
include .env.example | ||
include polaris/polaris/static/polaris/base.css | ||
include polaris/polaris/static/polaris/company-icon.svg | ||
include polaris/polaris/static/polaris/chevron-down.svg | ||
recursive-include polaris/polaris/static/polaris/scripts * | ||
recursive-include polaris/polaris/templates * | ||
recursive-include polaris/polaris/locale * | ||
include README.rst | ||
graft polaris/polaris/static/polaris/scripts | ||
graft polaris/polaris/templates | ||
graft polaris/polaris/locale | ||
graft polaris/polaris/static | ||
global-exclude *.scss | ||
global-exclude *.py[co] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "2.2.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" |
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,65 @@ | ||
[metadata] | ||
name = django-polaris | ||
version = attr: polaris.__version__ | ||
description = An extendable Django server for Stellar Ecosystem Proposals. | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst | ||
url = django-polaris.readthedocs.io/en/stable | ||
author = Stellar Development Foundation | ||
author_email = [email protected] | ||
license = Apache license 2.0 | ||
classifiers = | ||
Environment :: Web Environment | ||
Framework :: Django | ||
Framework :: Django :: 3.2 | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: Apache Software License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
project_urls = | ||
Documentation = django-polaris.readthedocs.io/en/stable | ||
Release notes = https://github.com/stellar/django-polaris/releases | ||
Bug Tracker = https://github.com/stellar/django-polaris/issues | ||
keywords = | ||
stellar | ||
sdf | ||
anchor | ||
server | ||
polaris | ||
sep-24 | ||
sep24 | ||
sep-31 | ||
sep31 | ||
|
||
[options] | ||
python_requires = >=3.7 | ||
packages = find: | ||
package_dir = | ||
= polaris | ||
include_package_data = true | ||
install_requires = | ||
django >=3.2, <4.0 | ||
asgiref >=3.2, <4 | ||
django-environ | ||
django-model-utils <5.0, >=4.1 | ||
djangorestframework >=3.12, <4.0 | ||
whitenoise >=5.3, <6.0 | ||
stellar-sdk >=6.0.1, <7.0.0 | ||
aiohttp >=3.7, <4 | ||
django-cors-headers >=3.7, <4.0 | ||
toml | ||
pyjwt <3.0, >=2.1 | ||
cryptography >=3.4, <4.0 | ||
sqlparse >=0.4.2 | ||
|
||
|
||
[options.packages.find] | ||
where = polaris | ||
include = polaris, polaris.* | ||
exclude = polaris.tests, polaris.tests.*, polaris.collectstatic |
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,57 +1,4 @@ | ||
from setuptools import setup, find_packages | ||
from setuptools import setup | ||
|
||
|
||
with open("README.rst") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="django-polaris", | ||
version="2.2.0", | ||
description="An extendable Django server for Stellar Ecosystem Proposals", | ||
long_description=long_description, | ||
long_description_content_type="text/x-rst", | ||
url="https://django-polaris.readthedocs.io/en/stable", | ||
author="Jake Urban", | ||
author_email="[email protected]", | ||
license="Apache license 2.0", | ||
classifiers=[ | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Framework :: Django :: 3.2", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.7", | ||
], | ||
keywords=[ | ||
"stellar", | ||
"sdf", | ||
"anchor", | ||
"server", | ||
"polaris", | ||
"sep-24", | ||
"sep24", | ||
"sep-31", | ||
"sep31", | ||
], | ||
include_package_data=True, | ||
package_dir={"": "polaris"}, | ||
packages=find_packages("polaris"), | ||
install_requires=[ | ||
"django>=3.2,<4.0", | ||
"asgiref>=3.2,<4", | ||
"django-environ", | ||
"django-model-utils<5.0,>=4.1", | ||
"djangorestframework>=3.12,<4.0", | ||
"whitenoise>=5.3,<6.0", | ||
"stellar-sdk>=6.0.1,<7.0.0", | ||
"aiohttp>=3.7,<4", | ||
"django-cors-headers>=3.7,<4.0", | ||
"toml", | ||
"pyjwt<3.0,>=2.1", | ||
"cryptography>=3.4,<4.0", | ||
"sqlparse>=0.4.2", | ||
], | ||
python_requires=">=3.7", | ||
) | ||
setup() |