Programming 516

[Python] setup.py 를 이용하여 모듈 설치

http://egloos.zum.com/mcchae/v/10546273 만약 설치가 필요한 모듈이 있고, 그 디렉터리 내에 setup.py 파일을 만들어 다음과 같이 지정한다. from distutils.core import setup py_modules = [ 'cqattr', 'cqcompile', 'cqdaemon', 'cqdatetime', 'cqdebug', 'cqexception', 'cqexpect', 'cqlog', ] print 'BillEye-Agent modules\n%s' % py_modules setup (name = 'BillEye-Agent', version = '1.0', description = 'This is a BillEye Agent services', py_modul..

Programming 2019.08.08

Python virtualenv 정리 (Linux/Windows)

Python virtualenv 정리 (Linux/Windows) 출처: https://dgkim5360.tistory.com/entry/python-virtualenv-on-linux-ubuntu-and-windows [개발새발로그] https://dgkim5360.tistory.com/entry/python-virtualenv-on-linux-ubuntu-and-windows Python virtualenv 정리 (Linux/Windows) Programming/Python 2016.11.01 23:49python의 가상환경 virtualenv 모듈의 사용법을 간단하게 정리한다. python의 가상환경이란, 작은 python을 새로 설치해서 내가 원하는 모듈만 운용하는 바구니라고 생각하면 된다. 운영..

Programming 2018.12.10

[curl] 윈도우 환경에서 라이브러리 빌드 및 설치

http://shaeod.tistory.com/527 요점: projects\Windows" 경로로 이동하면 Visual Studio 버전 별로 폴더가 있는데, 원하는 버전으로 이동하면 된다. 명령 창에서 빌드하는 것은 어렵다. 여기에 추가로, HTTPS를 쓰려면 OpenSSL보다는 Windows SSPI 구성으로 빌드하는 것을 추천한다. (Windows에 내장) OpenSSL 의존이 생기면 복잡하다. libcurl static library를 사용할 때는 전처리기 정의에 CURL_STATICLIB 를 추가한다.Linker -> Input -> Additional Dependencies에는ws2_32.lib wldap32.lib crypt32.lib libcurl.lib를 추가한다.

Programming 2018.07.04