-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31475 from ankush/meta_update
build!: declarative builds
- Loading branch information
Showing
8 changed files
with
54 additions
and
54 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
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,35 @@ | ||
[project] | ||
name = "erpnext" | ||
authors = [ | ||
{ name = "Frappe Technologies Pvt Ltd", email = "[email protected]"} | ||
] | ||
description = "Open Source ERP" | ||
requires-python = ">=3.8" | ||
readme = "README.md" | ||
dynamic = ["version"] | ||
dependencies = [ | ||
# Core dependencies | ||
"pycountry~=20.7.3", | ||
"python-stdnum~=1.16", | ||
"Unidecode~=1.2.0", | ||
"redisearch~=2.1.0", | ||
|
||
# integration dependencies | ||
"gocardless-pro~=1.22.0", | ||
"googlemaps", | ||
"plaid-python~=7.2.1", | ||
"python-youtube~=0.8.0", | ||
"taxjar~=1.9.2", | ||
"tweepy~=3.10.0", | ||
] | ||
|
||
[build-system] | ||
requires = ["flit_core >=3.4,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[tool.bench.dev-dependencies] | ||
hypothesis = "~=6.31.0" | ||
|
||
[tool.black] | ||
line-length = 99 | ||
|
||
|
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,6 @@ | ||
from setuptools import setup, find_packages | ||
import re, ast | ||
# TODO: Remove this file when v15.0.0 is released | ||
from setuptools import setup | ||
|
||
# get version from __version__ variable in erpnext/__init__.py | ||
_version_re = re.compile(r"__version__\s+=\s+(.*)") | ||
name = "frappe" | ||
|
||
with open("requirements.txt") as f: | ||
install_requires = f.read().strip().split("\n") | ||
|
||
with open("erpnext/__init__.py", "rb") as f: | ||
version = str(ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1))) | ||
|
||
setup( | ||
name="erpnext", | ||
version=version, | ||
description="Open Source ERP", | ||
author="Frappe Technologies", | ||
author_email="[email protected]", | ||
packages=find_packages(), | ||
zip_safe=False, | ||
include_package_data=True, | ||
install_requires=install_requires, | ||
) | ||
setup() |