removed setup.py and requirements.txt as poetry will be where this information will live

This commit is contained in:
Blake Harnden 2020-07-14 12:33:13 -07:00
parent 7b3f934e95
commit 8c50d08121
5 changed files with 3 additions and 85 deletions

View file

@ -126,7 +126,6 @@ change-files:
$(call change-files,gui/core-gui) $(call change-files,gui/core-gui)
$(call change-files,daemon/core/constants.py) $(call change-files,daemon/core/constants.py)
$(call change-files,netns/setup.py) $(call change-files,netns/setup.py)
$(call change-files,daemon/setup.py)
CORE_DOC_SRC = core-python-$(PACKAGE_VERSION) CORE_DOC_SRC = core-python-$(PACKAGE_VERSION)
.PHONY: doc .PHONY: doc

View file

@ -24,8 +24,7 @@ distclean-local:
DISTCLEANFILES = Makefile.in DISTCLEANFILES = Makefile.in
# files to include with distribution tarball # files to include with distribution tarball
EXTRA_DIST = setup.py \ EXTRA_DIST = core \
core \
data \ data \
doc/conf.py.in \ doc/conf.py.in \
examples \ examples \
@ -34,5 +33,4 @@ EXTRA_DIST = setup.py \
setup.cfg \ setup.cfg \
MANIFEST.in \ MANIFEST.in \
poetry.lock \ poetry.lock \
pyproject.toml \ pyproject.toml
requirements.txt

View file

@ -2,7 +2,7 @@
name = "core" name = "core"
version = "6.6.0" version = "6.6.0"
description = "CORE Common Open Research Emulator" description = "CORE Common Open Research Emulator"
authors = ["Boeing Research & Technology"] authors = ["Boeing Research and Technology"]
license = "BSD-2-Clause" license = "BSD-2-Clause"
repository = "https://github.com/coreemu/core" repository = "https://github.com/coreemu/core"
documentation = "https://coreemu.github.io/core/" documentation = "https://coreemu.github.io/core/"

View file

@ -1,19 +0,0 @@
bcrypt==3.1.7
cffi==1.14.0
cryptography==2.8
dataclasses==0.7; python_version == "3.6"
fabric==2.5.0
grpcio==1.27.2
invoke==1.4.1
lxml==4.5.0
Mako==1.1.1
MarkupSafe==1.1.1
netaddr==0.7.19
paramiko==2.7.1
Pillow==7.0.0
protobuf==3.11.3
pycparser==2.19
PyNaCl==1.3.0
pyproj==2.5.0
PyYAML==5.3
six==1.14.0

View file

@ -1,60 +0,0 @@
"""
Defines how CORE will be built for installation.
"""
import glob
import os
from setuptools import find_packages, setup
_CORE_DIR = "/etc/core"
_MAN_DIR = "share/man/man1"
_EXAMPLES_DIR = "share/core"
def recursive_files(data_path, files_path):
all_files = []
for path, _directories, filenames in os.walk(files_path):
directory = os.path.join(data_path, path)
files = []
for filename in filenames:
files.append(os.path.join(path, filename))
all_files.append((directory, files))
return all_files
data_files = [
(_CORE_DIR, glob.glob("data/*")),
(_MAN_DIR, glob.glob("../man/**.1")),
]
data_files.extend(recursive_files(_EXAMPLES_DIR, "examples"))
setup(
name="core",
version="@PACKAGE_VERSION@",
packages=find_packages(),
install_requires=[
'dataclasses;python_version=="3.6"',
"fabric",
"grpcio",
"invoke",
"lxml",
"mako",
"netaddr",
"pillow",
"protobuf",
"pyproj",
"pyyaml",
],
tests_require=[
"pytest",
],
data_files=data_files,
scripts=glob.glob("scripts/*"),
include_package_data=True,
description="Python components of CORE",
url="https://github.com/coreemu/core",
author="Boeing Research & Technology",
license="BSD",
long_description="Python scripts and modules for building virtual emulated networks.",
)