Merge pull request #2 from domtes/remove_pip_and_setuptools_files

Removing setuptools and pip files.
This commit is contained in:
2020-08-02 22:10:12 +02:00
committed by GitHub
3 changed files with 2 additions and 66 deletions

View File

@@ -22,7 +22,7 @@ Make sure you have installed the latest CDK version for your platform, following
Install the required dependencies (you can use a virtualenv for this), with the following command:
pip install -r requirements.txt
poetry install
The deployment can be then initiated, from the project root directory, with the following command:
@@ -64,13 +64,9 @@ If you need more details about creating a public hosted zone on AWS, consult the
## Uploading a file
To make the `once` command available you can install it using pip, with the following command:
$ pip install .
Once the service and the client have been correctly installed and configured, you can upload a local file running the `once` command.
once <file_toshare>
poetry run once <file_toshare>
The URL can be shared to download the file, only once.

View File

@@ -1,12 +0,0 @@
-e .
aws_cdk.core>=1.45
aws_cdk.aws_apigatewayv2>=1.45
aws_cdk.aws_certificatemanager>=1.45
aws_cdk.aws_cloudformation>=1.45
aws_cdk.aws_dynamodb>=1.45
aws_cdk.aws_events>=1.45
aws_cdk.aws_events_targets>=1.45
aws_cdk.aws_lambda>=1.45
aws_cdk.aws_logs>=1.45
aws_cdk.aws_route53>=1.45
aws_cdk.aws_s3>=1.45

View File

@@ -1,48 +0,0 @@
import setuptools
with open("README.md") as fp:
long_description = fp.read()
setuptools.setup(
name="once",
description="A one-time file sharing personal service, running serverless on AWS",
version="0.1.0",
url="https://github.com/domtes/once",
author="Domenico Testa",
author_email="domenico.testa@gmail.com",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires=">=3.6",
install_requires=[
"click",
"pygments",
"requests"
],
package_dir={'': 'client'},
py_modules=['once'],
entry_points={
'console_scripts': ['once=once:share']
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: File Sharing",
"Topic :: Utilities",
"Typing :: Typed",
],
)