-
Notifications
You must be signed in to change notification settings - Fork 12
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 #6 from aaratn/create_pip_package
Add support for python-pip
- Loading branch information
Showing
12 changed files
with
109 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
PLATFORM?=linux_x64 | ||
|
||
build: | ||
@PYTHONOPTIMIZE=1 pyinstaller terraenv.py --onefile --clean --osx-bundle-identifier com.aarat.os.terraenv --nowindowed | ||
@PYTHONOPTIMIZE=1 pyinstaller terraenv --onefile --clean --osx-bundle-identifier com.aarat.os.terraenv --nowindowed | ||
@chmod +x dist/terraenv | ||
|
||
package: | ||
@cd dist && tar -czvf ./terraenv_$(PLATFORM).tar.gz terraenv | ||
@cd dist && tar -czvf ./terraenv_$(PLATFORM).tar.gz terraenv | ||
|
||
build-pip: | ||
@rm -rf dist/ | ||
@python3 setup.py bdist_wheel | ||
|
||
upload-pip-test: | ||
@python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
|
||
upload-pip: | ||
@python3 -m twine upload dist/* |
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
Empty file.
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
Empty file.
File renamed without changes.
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 |
---|---|---|
|
@@ -24,3 +24,5 @@ urllib3==1.25.7 | |
virtualenv==16.1.0 | ||
w3lib==1.21.0 | ||
websockets==8.1 | ||
twine==3.1.1 | ||
setuptools<45.0.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,50 @@ | ||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="terraenv", | ||
version="0.7", | ||
author="Aarat Nathwani", | ||
author_email="me@aarat.com", | ||
description="Terraform and Terragrunt Version Manager", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url="https://github.com/aaratn/terraenv", | ||
packages=setuptools.find_packages(), | ||
license='MIT', | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires='>=3.6', | ||
scripts=['terraenv'], | ||
install_requires=[ | ||
"altgraph==0.16.1", | ||
"appdirs==1.4.3", | ||
"beautifulsoup4==4.8.1", | ||
"bs4==0.0.1", | ||
"certifi==2019.9.11", | ||
"chardet==3.0.4", | ||
"cssselect==1.1.0", | ||
"fake-useragent==0.1.11", | ||
"idna==2.8", | ||
"lxml==4.4.1", | ||
"macholib==1.11", | ||
"parse==1.12.1", | ||
"pyee==6.0.0", | ||
"pyppeteer==0.0.25", | ||
"pyquery==1.4.1", | ||
"python-dotenv==0.10.3", | ||
"requests==2.22.0", | ||
"requests-html==0.10.0", | ||
"six==1.13.0", | ||
"soupsieve==1.9.5", | ||
"tqdm==4.38.0", | ||
"urllib3==1.25.7", | ||
"w3lib==1.21.0", | ||
"websockets==8.1" | ||
] | ||
) |
File renamed without changes.